Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace most of libsodium with Noble cryptography #1585

Open
o-az opened this issue May 3, 2024 · 1 comment
Open

Replace most of libsodium with Noble cryptography #1585

o-az opened this issue May 3, 2024 · 1 comment

Comments

@o-az
Copy link

o-az commented May 3, 2024

export {
Argon2id,
Argon2idOptions,
Ed25519,
Ed25519Keypair,
isArgon2idOptions,
xchacha20NonceLength,
Xchacha20poly1305Ietf,
} from "./libsodium";

Ed25519 -> https://github.com/paulmillr/noble-ed25519
Argon2id -> https://github.com/paulmillr/noble-hashes#argon2

You already use libraries from the same author so I assume you're familiar with the work quality.

I'm suggesting this because libsodium is massive which makes it extremely hard to justify cosmjs unless the project is very large.

@baoskee
Copy link

baoskee commented May 4, 2024

candidate answer to #1031

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants