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

RC4MBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Encryption and Hash MBS Encryption Plugin 3.1 Yes Yes Yes Yes No
Function: An implementation of the RC4 algorithem.
dim r as RC4MBS

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

dim OriginalData as string = ConvertEncoding("Hello World!", encodings.UTF8)
dim EncryptedData as string = r.Crypt(OriginalData)
MsgBox EncodeHex(EncryptedData)

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

dim UnencryptedData as string = r.Crypt(EncryptedData)
UnencryptedData = DefineEncoding(UnencryptedData, encodings.UTF8)
MsgBox UnencryptedData
The source in RB is in the examples folder (see Crypto 1.5 via RB). This implementation inside the plugin is only to make the calculation faster.
In case RS will improve RB more to produce faster code, the plugin may be no longer needed.

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.

RAWSocketMBS   -   RC5MBS

MBS Xojo PDF Plugins