Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AESMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Encryption and Hash MBS Encryption Plugin 4.1 Yes Yes Yes Yes No
Function: A class for AES encryption.
dim a as AESMBS
dim key as MemoryBlock
dim data as MemoryBlock

key.CString(0)="Hello World!1234" // 16 byte key for 128bit

a=new AESMBS

if a.SetKey(key, 128) then

data.StringValue(0,16)="Hello World!"
MsgBox "Before: "+data.StringValue(0,16)
MsgBox "After encryption: "+data.StringValue(0,16)
MsgBox "After decryption: "+data.StringValue(0,16)
MsgBox "Failed"
end if
For newer projects we recommend switching to CipherMBS class.

This class has low level functions like Encrypt. It also has mid level functions like EncryptCFB/CBC. For your convenience, we also have high level functions like EncryptString.

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:

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

ACLRightMBS   -   AliasInfoMBS

MBS FileMaker blog