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

CipherMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: The high level cipher class using OpenSSL encryption.
Example:
dim c as CipherMBS = CipherMBS.aes_128_cfb128
dim CKey as MemoryBlock = "1234567812345678"
dim CIV as MemoryBlock
dim data as string = "Hello World. Just a test!"

call c.EncryptInit Ckey, CIV

dim output1 as string = c.ProcessString(data)
output1 = output1 + c.FinalizeAsString

dim a as new AESMBS

call a.SetKey CKey, 128
dim output2 as string = a.EncryptCFB128(data, CIV)

MsgBox EncodeHex(output1)+EndOfLine+EncodeHex(output2)
Notes: This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

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.


CIPDF417CodeDescriptorMBS   -   CIQRCodeDescriptorMBS




Links
MBS Xojo blog