Skip to content

Commit 262972f

Browse files
author
liuhuiqi.7
committed
feat(e2ee): rm useless print
1 parent 5b398f7 commit 262972f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

volcenginesdkarkruntime/_utils/_key_agreement.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def aes_gcm_decrypt_base64_list(key: bytes, nonce: bytes, ciphertext: str) -> st
100100
try:
101101
result.append(aes_gcm_decrypt_base64_string(key, nonce, b64))
102102
except Exception:
103-
print("decrypt base64 string failed", b64)
104103
for i in range(20, len(b64), 4):
105104
try:
106105
decrypted = aes_gcm_decrypt_base64_string(
@@ -110,9 +109,7 @@ def aes_gcm_decrypt_base64_list(key: bytes, nonce: bytes, ciphertext: str) -> st
110109
key, nonce, b64[i+4:])
111110
result.append(decrypted)
112111
except Exception:
113-
print("decrypt base64 string failed",
114-
b64, b64[:i+4], b64[i+4:])
115-
print('decrypt base64 list result', result)
112+
pass
116113
return ''.join(result)
117114

118115

0 commit comments

Comments
 (0)