You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A weird bug has popped up when using sjcl in the latest version of Google Chrome Canary (Version 51.0.2698.0 canary (64-bit)). For some reason when calling sjcl.mode.ccm.decrypt() for the first time after loading the script, the tag is not computed correctly and the decryption fails. On every subsequent call everything works fine. Here is an example:
Hm, the issue seems to have disappeared in both Chrome Version 51.0.2704.79 (64-bit) and Canary Version 53.0.2753.0 (64-bit). I agree that this looks like a temporary bug in one of the Chromium builds. Anyway, there is no way to reproduce this now so might as well close this issue.
A weird bug has popped up when using sjcl in the latest version of Google Chrome Canary (
Version 51.0.2698.0 canary (64-bit)
). For some reason when callingsjcl.mode.ccm.decrypt()
for the first time after loading the script, the tag is not computed correctly and the decryption fails. On every subsequent call everything works fine. Here is an example:Output:
And a live demo (It uses v1.0.0 but the problem persists in the latest version): https://jsbin.com/wiworadeja/edit?js,console
The text was updated successfully, but these errors were encountered: