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
// memory allocation is not cheap so reuse the encrypted Uint8Array
44
+
// see https://github.com/ChainSafe/js-libp2p-noise/pull/242#issue-1422126164
45
+
// this is ok because chacha20 reads bytes one by one and don't reread after that
46
+
// it's also tested in https://github.com/ChainSafe/as-chacha20poly1305/pull/1/files#diff-25252846b58979dcaf4e41d47b3eadd7e4f335e7fb98da6c049b1f9cd011f381R48
0 commit comments