Base16/base32 encoder/decoder

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Base16/base32 encoder/decoder

Post by Quin »

We currently have Base64Encoder and Base64Decoder. I propose to also add an encoder/decoder for base16 and base32 as well.
More info: https://www.rfc-editor.org/rfc/rfc4648
infratec
Always Here
Always Here
Posts: 7588
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Base16/base32 encoder/decoder

Post by infratec »

I never seen a application which needs one of those.
Can you give me an example?
Quin
Addict
Addict
Posts: 1131
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: Base16/base32 encoder/decoder

Post by Quin »

infratec wrote: Thu Jul 18, 2024 7:13 am I never seen a application which needs one of those.
Can you give me an example?
TOTP apps all require their secrets to be base32 encoded.
infratec
Always Here
Always Here
Posts: 7588
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Base16/base32 encoder/decoder

Post by infratec »

infratec
Always Here
Always Here
Posts: 7588
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Base16/base32 encoder/decoder

Post by infratec »

Post Reply