infincia / bip39-rs

A Rust implementation of BIP-0039
Apache License 2.0
54 stars 61 forks source link

Add Mnemonic::from_entropy and Mnemonic::from_entropy_hex #9

Closed meh closed 6 years ago

meh commented 6 years ago

This is the opposite of get_entropy and get_entropy_hex, it's needed if you want to go from the entropy to the mnemonic.

I noticed there was some related discussion in #5, so I'm not sure if that was ever resolved.

steveatinfincia commented 6 years ago

Hi :)

I don't see any issues with this at all, looks good to me.

Please let me know if there are any other changes that would make sense, and I will try to get it merged in quicker than I did this time :)

Thanks!