paulmillr / scure-base

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

Add base32nopad and base32hexnopad #34

Closed benjreinhart closed 2 months ago

benjreinhart commented 3 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 3 months ago

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

paulmillr commented 3 months ago

Can you add tests for both methods?

paulmillr commented 2 months ago

@benjreinhart ping

benjreinhart commented 2 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.