sodium-javascript icon indicating copy to clipboard operation
sodium-javascript copied to clipboard

Pure Javascript version of sodium-native

Results 27 sodium-javascript issues
Sort by recently updated
recently updated
newest added

An issue to track the inconsistencies between `sodium-native` and `sodium-javascript`: #### inconsistency - [ ] `crypto_secretstream` tags are buffers #### state API - [ ] `crypto_generichash` state API not implemented...

I didn't have a whole lot of time to investigate this today, since I'm just making a proof of concept prototype, but I became curious to know why this piece...

Using require() as an expression leads to compile errors in webpack. This issue can be solved by guarding the use of require by the 'correct' run-time check using `typeof require`....

Hi, I'm trying to convert my ed25519 keypair to x25519 keypair, which can be achieved by provided functions - sodium.crypto_sign_ed25519_pk_to_curve25519(x25519_public, ed25519_public) - sodium.crypto_sign_ed25519_sk_to_curve25519(x25519_secret, ed25519_secret) Currently I'm generating x25519 keypair buffer...

Currently breaking noise-curve-ed in the browser: https://github.com/chm-diederichs/noise-curve-ed/blob/main/index.js#L54

Haven't gotten around to tests yet, and this is currently using [ristretto255](https://github.com/novifinancial/ristretto255-js) as a dependency, which may or may not be desired, but wanted to open for discussion and invite...

I have ed25519 pubkeys. I would like to check there validity. The RFC say how to do that by decoding/decompressing to an x,y point : https://tools.ietf.org/html/rfc8032#page-11 Do y plan to...

Are there plans to implement the secretstream API? If so, would it be in webassembly? I saw xchacha20poly1305 mentioned in [this](https://github.com/sodium-friends/sodium-javascript/issues/17) issue. Wondering if I'll be able to use this...

Hey friends, We've been working on getting sodium-javascript working in React-Native at @consento-org and we've got some stuff together to make it happen. The main piece that was breaking was...