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 |
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 12 properties
- property BlockSize as Integer
- property Encrypting as Boolean
- property Flags as Integer
- property HasVariableKeyLength as Boolean
- property IVLength as Integer
- property KeyLength as Integer
- property Mode as Integer
- property Name as String
- property Padding as Boolean
- property RC2KeyBits as Integer
- property RC5Rounds as Integer
- property ZeroPaddingKey as Boolean
- 14 methods
- method CipherInit(key as memoryblock, IV as memoryblock, Encrypt as boolean) as Boolean
- method Clear
- method Constructor Private
- method Control(Type as Integer, Arg as Integer, Data as Ptr)
- method DecryptInit(key as memoryblock, IV as memoryblock = nil) as Boolean
- method EncryptInit(key as memoryblock, IV as memoryblock = nil) as Boolean
- method FinalizeAsMemory as memoryblock
- method FinalizeAsString as String
- method GetGCMTag(Size as Integer = 16) as MemoryBlock
- method ProcessFile(InputFile as FolderItem, OutputFile as FolderItem) as boolean
- method ProcessMemory(data as memoryblock) as MemoryBlock
- method ProcessString(data as String) as string
- method SetGCMTag(Data as MemoryBlock)
- method SetPadding(padding as boolean)
- 150 shared methods
- shared method aes_128_cbc as CipherMBS
- shared method aes_128_cbc_hmac_sha256 as CipherMBS
- shared method aes_128_ccm as CipherMBS
- shared method aes_128_cfb1 as CipherMBS
- shared method aes_128_cfb128 as CipherMBS
- shared method aes_128_cfb8 as CipherMBS
- shared method aes_128_ctr as CipherMBS
- shared method aes_128_ecb as CipherMBS
- shared method aes_128_gcm as CipherMBS
- shared method aes_128_ocb as CipherMBS
- shared method aes_128_ofb as CipherMBS
- shared method aes_128_wrap as CipherMBS
- shared method aes_128_wrap_pad as CipherMBS
- shared method aes_128_xts as CipherMBS
- shared method aes_192_cbc as CipherMBS
- shared method aes_192_ccm as CipherMBS
- shared method aes_192_cfb1 as CipherMBS
- shared method aes_192_cfb128 as CipherMBS
- shared method aes_192_cfb8 as CipherMBS
- shared method aes_192_ctr as CipherMBS
- shared method aes_192_ecb as CipherMBS
- shared method aes_192_gcm as CipherMBS
- shared method aes_192_ocb as CipherMBS
- shared method aes_192_ofb as CipherMBS
- shared method aes_192_wrap as CipherMBS
- shared method aes_192_wrap_pad as CipherMBS
- shared method aes_256_cbc as CipherMBS
- shared method aes_256_cbc_hmac_sha256 as CipherMBS
- shared method aes_256_ccm as CipherMBS
- shared method aes_256_cfb1 as CipherMBS
- shared method aes_256_cfb128 as CipherMBS
- shared method aes_256_cfb8 as CipherMBS
- shared method aes_256_ctr as CipherMBS
- shared method aes_256_ecb as CipherMBS
- shared method aes_256_gcm as CipherMBS
- shared method aes_256_ocb as CipherMBS
- shared method aes_256_ofb as CipherMBS
- shared method aes_256_wrap as CipherMBS
- shared method aes_256_wrap_pad as CipherMBS
- shared method aes_256_xts as CipherMBS
- shared method aria_128_cbc as CipherMBS
- shared method aria_128_ccm as CipherMBS
- shared method aria_128_cfb1 as CipherMBS
- shared method aria_128_cfb128 as CipherMBS
- shared method aria_128_cfb8 as CipherMBS
- shared method aria_128_ctr as CipherMBS
- shared method aria_128_ecb as CipherMBS
- shared method aria_128_gcm as CipherMBS
- shared method aria_128_ofb as CipherMBS
- shared method aria_192_cbc as CipherMBS
- shared method aria_192_ccm as CipherMBS
- shared method aria_192_cfb1 as CipherMBS
- shared method aria_192_cfb128 as CipherMBS
- shared method aria_192_cfb8 as CipherMBS
- shared method aria_192_ctr as CipherMBS
- shared method aria_192_ecb as CipherMBS
- shared method aria_192_gcm as CipherMBS
- shared method aria_192_ofb as CipherMBS
- shared method aria_256_cbc as CipherMBS
- shared method aria_256_ccm as CipherMBS
- shared method aria_256_cfb1 as CipherMBS
- shared method aria_256_cfb128 as CipherMBS
- shared method aria_256_cfb8 as CipherMBS
- shared method aria_256_ctr as CipherMBS
- shared method aria_256_ecb as CipherMBS
- shared method aria_256_gcm as CipherMBS
- shared method aria_256_ofb as CipherMBS
- shared method bf_cbc as CipherMBS
- shared method bf_cfb64 as CipherMBS
- shared method bf_ecb as CipherMBS
- shared method bf_ofb as CipherMBS
- shared method BytesToKey(cipher as CipherMBS, digest as DigestMBS, Salt as MemoryBlock, InputKey as Memoryblock, IterationCount as Integer, byref OutputKey as memoryblock, byref IV as memoryblock) as boolean
- shared method camellia_128_cbc as CipherMBS
- shared method camellia_128_cfb1 as CipherMBS
- shared method camellia_128_cfb128 as CipherMBS
- shared method camellia_128_cfb8 as CipherMBS
- shared method camellia_128_ctr as CipherMBS
- shared method camellia_128_ecb as CipherMBS
- shared method camellia_128_ofb as CipherMBS
- shared method camellia_192_cbc as CipherMBS
- shared method camellia_192_cfb1 as CipherMBS
- shared method camellia_192_cfb128 as CipherMBS
- shared method camellia_192_cfb8 as CipherMBS
- shared method camellia_192_ctr as CipherMBS
- shared method camellia_192_ecb as CipherMBS
- shared method camellia_192_ofb as CipherMBS
- shared method camellia_256_cbc as CipherMBS
- shared method camellia_256_cfb1 as CipherMBS
- shared method camellia_256_cfb128 as CipherMBS
- shared method camellia_256_cfb8 as CipherMBS
- shared method camellia_256_ctr as CipherMBS
- shared method camellia_256_ecb as CipherMBS
- shared method camellia_256_ofb as CipherMBS
- shared method cast5_cbc as CipherMBS
- shared method cast5_cfb64 as CipherMBS
- shared method cast5_ecb as CipherMBS
- shared method cast5_ofb as CipherMBS
- shared method chacha20 as CipherMBS
- shared method chacha20_poly1305 as CipherMBS
- shared method CipherByName(name as string) as CipherMBS
- shared method CipherNames as String()
- shared method desx_cbc as CipherMBS
- shared method des_cbc as CipherMBS
- shared method des_cfb1 as CipherMBS
- shared method des_cfb64 as CipherMBS
- shared method des_cfb8 as CipherMBS
- shared method des_ecb as CipherMBS
- shared method des_ede as CipherMBS
- shared method des_ede3 as CipherMBS
- shared method des_ede3_cbc as CipherMBS
- shared method des_ede3_cfb1 as CipherMBS
- shared method des_ede3_cfb64 as CipherMBS
- shared method des_ede3_cfb8 as CipherMBS
- shared method des_ede3_ecb as CipherMBS
- shared method des_ede3_ofb as CipherMBS
- shared method des_ede3_wrap as CipherMBS
- shared method des_ede_cbc as CipherMBS
- shared method des_ede_cfb64 as CipherMBS
- shared method des_ede_ecb as CipherMBS
- shared method des_ede_ofb as CipherMBS
- shared method des_ofb as CipherMBS
- shared method idea_cbc as CipherMBS
- shared method idea_cfb64 as CipherMBS
- shared method idea_ecb as CipherMBS
- shared method idea_ofb as CipherMBS
- shared method MaxBlockLength as Integer
- shared method MaxIVLength as Integer
- shared method MaxKeyLength as Integer
- shared method rc2_40_cbc as CipherMBS
- shared method rc2_64_cbc as CipherMBS
- shared method rc2_cbc as CipherMBS
- shared method rc2_cfb64 as CipherMBS
- shared method rc2_ecb as CipherMBS
- shared method rc2_ofb as CipherMBS
- shared method rc4 as CipherMBS
- shared method rc4_40 as CipherMBS
- shared method rc4_hmac_md5 as CipherMBS
- shared method rc5_32_12_16_cbc as CipherMBS
- shared method rc5_32_12_16_cfb64 as CipherMBS
- shared method rc5_32_12_16_ecb as CipherMBS
- shared method rc5_32_12_16_ofb as CipherMBS
- shared method seed_cbc as CipherMBS
- shared method seed_cfb128 as CipherMBS
- shared method seed_ecb as CipherMBS
- shared method seed_ofb as CipherMBS
- shared method sm4_cbc as CipherMBS
- shared method sm4_cfb128 as CipherMBS
- shared method sm4_ctr as CipherMBS
- shared method sm4_ecb as CipherMBS
- shared method sm4_ofb as CipherMBS
This class has no sub classes.
Some examples using this class:
- /Encryption/AES with PHP/AES with PHP
- /Encryption/AES/AES256 Text encryption
- /Encryption/Blowfish OpenSSL Tests
- /Encryption/Threaded Encryption and Hashes
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.3
- Decrypt data from PHP in Xojo
- Xojo News
- MacOSX plugin for iOS
- Multithreaded plugin functions can increase speed of Xojo application
- Tip of the day: AES 256 CBC on iOS for Xojo
- MBS Xojo plug-ins in version 16.0
- AES in Xojo and PHP
- Doing hash or encryption on several CPUs in Xojo
- MBS Xojo / Real Studio plug-ins in version 13.5
Xojo Developer Magazine
Release notes
- Version 23.3
- 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