Platforms to show: All Mac Windows Linux Cross-Platform

CipherMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The high level cipher class using OpenSSL encryption.
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)

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 using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 23.3
    • Added 49 new ciphers for CipherMBS class.
    • Added Control function for CipherMBS class for AES GCM tags.
    • Added ZeroPaddingKey property to CipherMBS class.
  • Version 22.0
  • Version 20.1
    • Fixed buffer overrun in BytesToKey function in CipherMBS class.
  • Version 19.4
    • Added exceptions to CipherMBS to report if de/encryption fails instead of silently return no or garbage data.
  • Version 18.5
  • Version 17.3
    • Improved key length handling for CipherMBS class. Init functions now report true on success and false on failure. Short keys are filled with zeros (as before), we report false in case of errors, but still may take reduced key (as before).

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

CIPDF417CodeDescriptorMBS   -   CIQRCodeDescriptorMBS

💬 Ask a question or report a problem
The biggest plugin in space...