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
Are box and secretbox packages supposed to be AEAD implementations? If so, is there a particular reason why they don't implement cipher.AEAD but introducing their slightly different API surfaces?
Since they are not AEAD, there is no good reason to try to comply with the AEAD interface. Misleading APIs with panic'ing runtime behavior is uglier than anything else.
(If anyone has other arguments, please comment and/or reopen.)
Are box and secretbox packages supposed to be AEAD implementations? If so, is there a particular reason why they don't implement cipher.AEAD but introducing their slightly different API surfaces?
/cc @agl @dsymonds @adg
The text was updated successfully, but these errors were encountered: