Nullus157 / bs58-rs

Another Rust Base58 codec implementation
Apache License 2.0
78 stars 24 forks source link

Check that alphabet contains only valid ASCII characters #11

Closed Nemo157 closed 6 years ago

Nemo157 commented 6 years ago

This adds a slight constant cost to all encoding, measuring on my machine it seems to be around ~20-30ns, which when compared to ~2000ns for encoding 32 bytes seems fine.

Fixes #8.