Open o-az opened 2 months ago
https://github.com/cosmos/cosmjs/blob/5c1ec56189d3024a6c6ad0ec0d60df30c09c7cc0/packages/crypto/src/index.ts#L5-L13
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.
candidate answer to https://github.com/cosmos/cosmjs/issues/1031
https://github.com/cosmos/cosmjs/blob/5c1ec56189d3024a6c6ad0ec0d60df30c09c7cc0/packages/crypto/src/index.ts#L5-L13
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.