Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Encode a base32 string.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
TOTP | 13.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
text | The text to process. | "Hello World" | |
encoding | The text encoding for text parameter. Default is UTF-8. |
"UTF-8" | Optional |
Returns encoded text or error.
Encode Hello
MBS( "TOTP.EncodeToBase32"; "Hello World" )
Example result: JBSWY3DPEBLW64TMMQ======
Encode test string:
MBS( "TOTP.EncodeToBase32"; "The quick brown fox jumps over the lazy dog.")
Example result: KRUGKIDROVUWG2ZAMJZG653OEBTG66BANJ2W24DTEBXXMZLSEB2GQZJANRQXU6JAMRXWOLQ=
This function is free to use.
Created 16th August 2023, last changed 16th August 2023