RustCrypto / formats

Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
249 stars 134 forks source link

base32ct: add crockford alphabet #1246

Open russellbanks opened 1 year ago

russellbanks commented 1 year ago

I want to encode using Crockford Base32 as I'm implementing the Package Family Name algorithm but I'm unsure of how to implement the alphabet myself.

tarcieri commented 11 months ago

I think I attempted trying to implement it at one point and couldn't quite get it working. Unfortunately I don't think I still have the code.

russellbanks commented 11 months ago

I had a look and the main issue I came up against was that DecodeStep requires a RangeInclusive but the Crockford Alphabet omits some characters.