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

RC5MBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Encryption and Hash MBS Encryption Plugin 15.4 Yes Yes Yes Yes No
Function: The class for RC5 encryption.
dim r as RC5MBS

// Encrypt:
r = new RC5MBS("Key")

dim iv as MemoryBlock
dim num as Integer
dim OriginalData as string = ConvertEncoding("Hello World!", encodings.UTF8)
dim EncryptedData as string = r.encryptCFB64(OriginalData, iv, num)
MsgBox EncodeHex(EncryptedData)

// Same for decrypt:
r = new RC5MBS("Key")

iv = nil
num = 0
dim UnencryptedData as string = r.decryptCFB64(EncryptedData, iv, num)
UnencryptedData = DefineEncoding(UnencryptedData, encodings.UTF8)
MsgBox UnencryptedData
Do use to read existing RC5 encrypted things.
New projects may better use a better encryption.

Feedback, Comments & Corrections

This class has no sub classes.

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

RC4MBS   -   RecordSet

MBS FileMaker Plugins