Platforms to show: All Mac Windows Linux Cross-Platform
Back to EncryptMBS class.
EncryptMBS.Decode(data as string) as string
Function:
Decodes the string using the key.
Example:
Notes:
Does nothing without you calling Init before to generate a key.
The result is not the same for BigEndian and LittleEndian CPUs.
The strings returned are marked to have the encoding Binary.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Encryption and Hash | MBS Encryption Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
dim e as new EncryptMBS
e.Init "password"
dim encoded as string = e.encode("Hello World")
MsgBox e.Decode(encoded)
Does nothing without you calling Init before to generate a key.
The result is not the same for BigEndian and LittleEndian CPUs.
The strings returned are marked to have the encoding Binary.
EncryptMBS.Encode(data as string) as string
Function:
Encodes the string using the key.
Example:
Notes:
Does nothing without you calling Init before to generate a key.
The result is a binary string which can contain any ASCII value and may not be printable.
The result is not the same for BigEndian and LittleEndian CPUs.
The strings returned are marked to have the encoding Binary.
Returned string does not contain text, but binary data.
Please do not store in text fields in database without using EncodeHex or EncodeBase64 to make it a text string.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Encryption and Hash | MBS Encryption Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
dim e as new EncryptMBS
e.Init "password"
msgbox e.encode("Hello World")
Does nothing without you calling Init before to generate a key.
The result is a binary string which can contain any ASCII value and may not be printable.
The result is not the same for BigEndian and LittleEndian CPUs.
The strings returned are marked to have the encoding Binary.
Returned string does not contain text, but binary data.
Please do not store in text fields in database without using EncodeHex or EncodeBase64 to make it a text string.
EncryptMBS.Init(password as string)
Function:
Generates the key needed for encryption based on the provided keyword.
Example:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Encryption and Hash | MBS Encryption Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
dim e as new EncryptMBS
e.init("mypassword")
EncryptMBS.Key as string
Function:
Returns the key used inside the encryption object.
Example:
Notes:
Call Init to generate this key before.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Encryption and Hash | MBS Encryption Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Example:
dim e as new EncryptMBS
e.Init "Hello"
msgbox e.key
The items on this page are in the following plugins: MBS Encryption Plugin.