Platforms to show: All Mac Windows Linux Cross-Platform
AESMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Encryption and Hash | MBS Encryption Plugin | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This item is deprecated and should no longer be used.
You can use CipherMBS instead.
A class for AES encryption.
For newer projects we recommend switching to CipherMBS class.
This class has low level functions like Encrypt. It also has mid level functions like EncryptCFB/CBC. For your convenience, we also have high level functions like EncryptString.
- 21 methods
- method Decrypt(idata as memoryblock, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method DecryptCBC(idata as memoryblock, LengthBytes as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method DecryptCFB1(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method DecryptCFB1(idata as string, IVector as memoryblock=nil) as string
- method DecryptCFB128(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method DecryptCFB128(idata as string, IVector as memoryblock=nil) as string
- method DecryptCFB8(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method DecryptCFB8(idata as string, IVector as memoryblock=nil) as string
- method DecryptECB(idata as memoryblock, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method Encrypt(idata as memoryblock, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method EncryptCBC(idata as memoryblock, LengthBytes as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method EncryptCFB1(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method EncryptCFB1(idata as string, IVector as memoryblock=nil) as string
- method EncryptCFB128(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method EncryptCFB128(idata as string, IVector as memoryblock=nil) as string
- method EncryptCFB8(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method EncryptCFB8(idata as string, IVector as memoryblock=nil) as string
- method EncryptECB(idata as memoryblock, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method EncryptOFB(idata as memoryblock, LengthBytes as Integer, byref IVectorOffset as Integer, IVector as memoryblock=nil, odata as memoryblock=nil, iOffset as Integer=0, oOffset as Integer=0)
- method SetKey(key as memoryblock, nBits as Integer) as boolean
- method SetKey(key as string) as boolean
This class has no sub classes.
Some examples using this class:
- /Encryption/AES/AES CBC Test
- /Encryption/AES/AES like PHP
- /Encryption/AES/AES Test Vectors
- /Encryption/AES/AESMBS example
- /Encryption/AES/Encrypt File with AES
- /Util/Streams
Blog Entries
- MBS Xojo Plugins, version 22.0pr6
- MBS Xojo / Real Studio Plugins, version 13.5pr10
- MBS Xojo / Real Studio plug-ins in version 13.4
- MBS Xojo / Real Studio Plugins, version 13.4pr5
- MBS Xojo / Real Studio Plugins, version 13.4pr3
- Encryption Interoperability
- MBS Real Studio Plugins, version 12.0fc1
- MBS REALbasic plug-ins version 9.4
Xojo Developer Magazine
- 10.1, page 74: Using Plugins, Working with the Monkeybread Plugins by Marc Zeedar
- 10.1, page 72: Using Plugins, Working with the Monkeybread Plugins by Marc Zeedar
Release notes
The items on this page are in the following plugins: MBS Encryption Plugin.