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