maciejhirsz / tiny-bip39

A Rust implementation of BIP-0039
Apache License 2.0
65 stars 37 forks source link

Fix broken hex formatting. #4

Closed jasondavies closed 5 years ago

jasondavies commented 5 years ago

Every byte should correspond to two hexadecimal characters. The previous implementation emitted a single character for byte values between 0x00 and 0x0f inclusive.

(I’m not really a fan of including any LowerHex/UpperHex impl whatsoever. But hey, it’s broken, so I fixed it!)