We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current Encryption.decrypt implemented here does cipherText.pop(), which mutates the passed in ciphertext unnecessarily:
Encryption.decrypt
cipherText.pop()
o1js/src/lib/provable/crypto/encryption.ts
Lines 28 to 59 in 6ebbc23
And it will make decryption with the same ciphertext work only the first time.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Current
Encryption.decrypt
implemented here doescipherText.pop()
, which mutates the passed in ciphertext unnecessarily:o1js/src/lib/provable/crypto/encryption.ts
Lines 28 to 59 in 6ebbc23
And it will make decryption with the same ciphertext work only the first time.
The text was updated successfully, but these errors were encountered: