Skip to content

Replace most of libsodium with Noble cryptography #1585

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions