paulmillr / scure-base

Secure, audited & 0-deps implementation of bech32, base64, base32, base16 & base58
https://paulmillr.com/noble/#scure
MIT License
120 stars 13 forks source link

Add base32nopad and base32hexnopad #34

Closed benjreinhart closed 5 months ago

benjreinhart commented 6 months ago

Address #33

Let me know if you'd like these added to the test file. I noticed the base64 no pad variants were not present in the test files.

benjreinhart commented 6 months ago

Any chance we can get this merged and released soon? 🙏🏻

paulmillr commented 6 months ago

Can you add tests for both methods?

paulmillr commented 5 months ago

@benjreinhart ping

benjreinhart commented 5 months ago

@paulmillr my bad, been a busy week.

I added some basic tests but I'm not sure if those are what you're expecting. I wasn't sure how to plug into the existing tests or how the test values were generated.