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.

Next items

CipherMBS.aes_128_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
Returns the cipher.
Example
dim key as string = "mysecretkey"
dim encrypted as string = "6IcB9bpDwOjjONErhYQ6c7+Fb4qszsUNZVU0iThLYqOu7chJ7MG2nwSpRBUY0ZC3"

encrypted = DecodeBase64(encrypted)

dim c as CipherMBS = CipherMBS.aes_128_cbc
call c.DecryptInit key

dim s as string = c.ProcessString(Encrypted)+c.FinalizeAsString

Break // "In welcher Stadt steht das Bundeshaus?" is now in s.

CipherMBS.aes_128_cbc_hmac_sha256 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.aes_128_ccm 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
Returns the cipher.

CipherMBS.aes_128_cfb1 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
Returns the cipher.

CipherMBS.aes_128_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
Returns the cipher.
Example
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)

CipherMBS.aes_128_cfb8 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
Returns the cipher.

CipherMBS.aes_128_ctr 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
Returns the cipher.

CipherMBS.aes_128_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
Returns the cipher.

CipherMBS.aes_128_gcm 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
Returns the cipher.

CipherMBS.aes_128_ocb 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.aes_128_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
Returns the cipher.

CipherMBS.aes_128_wrap 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.aes_128_wrap_pad 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.aes_128_xts 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
Returns the cipher.
Example
dim CKey as MemoryBlock = "1234567812345678"
dim CIV as MemoryBlock
dim data as string = "Hello World. Just a test!"

dim c as CipherMBS = CipherMBS.aes_128_xts
call c.EncryptInit Ckey, CIV

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

CIV = nil
c = CipherMBS.aes_128_xts
call c.DecryptInit Ckey, CIV

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

MsgBox "Encrypred via "+c.Name+" as hex: "+EncodeHex(output1)+EndOfLine+"Decrypted: "+output2

CipherMBS.aes_192_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
Returns the cipher.

CipherMBS.aes_192_ccm 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
Returns the cipher.

CipherMBS.aes_192_cfb1 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
Returns the cipher.

CipherMBS.aes_192_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
Returns the cipher.

CipherMBS.aes_192_cfb8 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
Returns the cipher.

CipherMBS.aes_192_ctr 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
Returns the cipher.

CipherMBS.aes_192_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
Returns the cipher.

CipherMBS.aes_192_gcm 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
Returns the cipher.

CipherMBS.aes_192_ocb 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.aes_192_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
Returns the cipher.

CipherMBS.aes_192_wrap 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.aes_192_wrap_pad 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.aes_256_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
Returns the cipher.
Example
dim CKey as MemoryBlock = "1234567812345678"
dim CIV as MemoryBlock
dim data as string = "Hello World. Just a test!"

dim c as CipherMBS = CipherMBS.aes_256_cbc
call c.EncryptInit Ckey, CIV

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

CIV = nil
c = CipherMBS.aes_256_cbc
call c.DecryptInit Ckey, CIV

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

MsgBox "Encrypred via "+c.Name+" as hex: "+EncodeHex(output1)+EndOfLine+"Decrypted: "+output2

CipherMBS.aes_256_cbc_hmac_sha256 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.aes_256_ccm 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
Returns the cipher.

CipherMBS.aes_256_cfb1 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
Returns the cipher.

Some examples using this method:

CipherMBS.aes_256_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
Returns the cipher.
Example
dim CKey as MemoryBlock = "1234567812345678"
dim CIV as MemoryBlock
dim data as string = "Hello World. Just a test!"

dim c as CipherMBS = CipherMBS.aes_256_cfb128
call c.EncryptInit Ckey, CIV

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

CIV = nil
c = CipherMBS.aes_256_cfb128
call c.DecryptInit Ckey, CIV

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

MsgBox "Encrypred via "+c.Name+" as hex: "+EncodeHex(output1)+EndOfLine+"Decrypted: "+output2

Some examples using this method:

CipherMBS.aes_256_cfb8 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
Returns the cipher.

CipherMBS.aes_256_ctr 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
Returns the cipher.

CipherMBS.aes_256_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
Returns the cipher.
Example
dim c as CipherMBS = CipherMBS.aes_256_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

c = CipherMBS.aes_256_ecb
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Encrypred as hex: "+EncodeHex(output1)+EndOfLine+"Decrypted: "+output2

CipherMBS.aes_256_gcm 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
Returns the cipher.

CipherMBS.aes_256_ocb 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.aes_256_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
Returns the cipher.

CipherMBS.aes_256_wrap 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.aes_256_wrap_pad 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.aes_256_xts 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
Returns the cipher.

CipherMBS.aria_128_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.aria_128_ccm 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.aria_128_cfb1 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.aria_128_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.aria_128_cfb8 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.aria_128_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.aria_128_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.aria_128_gcm 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.aria_128_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.

Next items

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


💬 Ask a question or report a problem