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
When trying the example of crypto_secretstream_xchacha20poly1305, browser version I find out there is something going wrong in sodium.crypto_secretstream_xchacha20poly1305_init_push.
if (!sodium) sodium = await SodiumPlus.auto(); let key = await sodium.crypto_secretstream_xchacha20poly1305_keygen(); let pushState, pullState, header; [pushState, header] = await sodium.crypto_secretstream_xchacha20poly1305_init_push(key);
When trying the example of crypto_secretstream_xchacha20poly1305, browser version I find out there is something going wrong in sodium.crypto_secretstream_xchacha20poly1305_init_push.
if (!sodium) sodium = await SodiumPlus.auto(); let key = await sodium.crypto_secretstream_xchacha20poly1305_keygen(); let pushState, pullState, header; [pushState, header] = await sodium.crypto_secretstream_xchacha20poly1305_init_push(key);
this throws the following error (example):
Uncaught (in promise) TypeError: ({header:{0:92, 1:72, 2:132, 3:111, 4:18, 5:255, 6:141, 7:212, 8:69, 9:48, 10:71, 11:216, 12:242, 13:163, 14:199, 15:73, 16:137, 17:175, 18:148, 19:68, 20:139, 21:57, 22:95, 23:200}, push:function bound crypto_secretstream_xchacha20poly1305_push() { [native code] }, rekey:function bound crypto_secretstream_xchacha20poly1305_rekey() { [native code] }}) is not iterable
As it is in the example itself it makes it hard for my to find out what is going wrong.
The text was updated successfully, but these errors were encountered: