MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CipherMBS class

class, Encryption and Hash, MBS Encryption Plugin (OpenSSL), class CipherMBS,
Plugin version: 13.5, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.

Function: The high level cipher class using OpenSSL.
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!"

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.

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.

CIImageMBS   -   CIQRCodeFeatureMBS

Christians Software aus Nickenich