CipherMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CipherMBS class.

Previous items

CipherMBS.rc5_32_12_16_ecb as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 15.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.
Example
dim c as CipherMBS = CipherMBS.rc5_32_12_16_ecb
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

MsgBox "Encrypred as hex: "+EncodeHex(output1)

c = CipherMBS.rc5_32_12_16_ecb
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2

RC5 with ECB. 32 bit word size, 12 rounds, 16 byte key.

CipherMBS.rc5_32_12_16_ofb as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 15.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.
Example
dim c as CipherMBS = CipherMBS.rc5_32_12_16_ofb
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

MsgBox "Encrypred as hex: "+EncodeHex(output1)

c = CipherMBS.rc5_32_12_16_ofb
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2

RC5 with OFB. 32 bit word size, 12 rounds, 16 byte key.

CipherMBS.seed_cbc as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The cipher for a Seed CBC.

CipherMBS.seed_cfb128 as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Seed cipher for CFB128 mode.

CipherMBS.seed_ecb as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Cipher for seed ECB.

CipherMBS.seed_ofb as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Seed cipher for OFB mode.

CipherMBS.sm4_cbc as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.

CipherMBS.sm4_cfb128 as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.

CipherMBS.sm4_ctr as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.

CipherMBS.sm4_ecb as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.

CipherMBS.sm4_ofb as CipherMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Encryption and Hash MBS Encryption Plugin 23.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the cipher.

Previous items

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


💬 Ask a question or report a problem