Platforms to show: All Mac Windows Linux Cross-Platform

Back to EncryptMBS class.

EncryptMBS.Decode(data as string) as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Decodes the string using the key.
Example:
dim e as new EncryptMBS

e.Init "password"
dim encoded as string = e.encode("Hello World")
MsgBox e.Decode(encoded)
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.
EncryptMBS.Encode(data as string) as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Encodes the string using the key.
Example:
dim e as new EncryptMBS

e.Init "password"
msgbox e.encode("Hello World")
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.
EncryptMBS.Init(password as string)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Generates the key needed for encryption based on the provided keyword.
Example:
dim e as new EncryptMBS
e.init("mypassword")
EncryptMBS.Key as string
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Encryption and Hash MBS Encryption Plugin ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns the key used inside the encryption object.
Example:
dim e as new EncryptMBS
e.Init "Hello"
msgbox e.key
Notes: Call Init to generate this key before.

The items on this page are in the following plugins: MBS Encryption Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...