Base32 encode & decode in native 4D?

Hi

Has anyone got methods for encoding and decoding Base32 written in native 4D that they’d be willing to share?

Base32 is needed for otpauth:// (2 factor authentication) stuff.

I know PHP or Javascript could be used, but I’d prefer native 4D if possible.

Thanks

Best regards

Keith

Hi,

I don’t have that, but I did write some native base64 encode/decode before it became available in 4D.

So I could look into it if you want or send you the old base64 encode/decode.

HTH

Hi

It looks like Base32 is a small part of TOTP.

I think a new version of NTK has TOTP support, so that may be the way forward.

Thanks Bruno.

Best regards

Keith