seeded_rsa 1.0.2 copy "seeded_rsa: ^1.0.2" to clipboard
seeded_rsa: ^1.0.2 copied to clipboard

A library to generated RSA key pair with a string seed (prefer bip39).

Generated RSA pub/priv key with a seed string (Using bip39 isn't a bad idea ;-)

Features #

To secure things, RSA key pair is still a good idea, but it's not really user friendly Handling it with the same idea as bitcoin do, generating it from a uuid size seed.

Key pair is generated by 2048 deterministic derivation using sha512 Then creating every BigInt needed by writing in a string the next derivation until the string fit our key size need

Usage #

Creating the generator with a seed:

final seededRSA = SeededRSA(mnemonnic);

Calling the generating process

await seededRSA.generate()

Disclaimer #

This library isn't tested or review Do not used it, or do the review/evaluation yourself ;-)

Starded by porting https://github.com/nomadcrypto/seededrsa but finally made totaly diffrently ;-)

0
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A library to generated RSA key pair with a string seed (prefer bip39).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

bip39, crypto, ninja_asn1, ninja_prime

More

Packages that depend on seeded_rsa