Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

CipherMBS.rc2_ofb as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Returns the cipher.
Example:
dim c as CipherMBS = CipherMBS.rc2_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.rc2_ofb
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2

Feedback, Comments & Corrections

CipherMBS.rc4 as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Returns the cipher.
Example:
dim c as CipherMBS = CipherMBS.rc4
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.rc4
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2

Feedback, Comments & Corrections

CipherMBS.rc4_40 as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Returns the cipher.
Example:
dim c as CipherMBS = CipherMBS.rc4_40
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.rc4_40
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2

Feedback, Comments & Corrections

CipherMBS.rc4_hmac_md5 as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Returns the cipher.
Example:
dim c as CipherMBS = CipherMBS.rc4_hmac_md5
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.rc4_hmac_md5
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2

Feedback, Comments & Corrections

CipherMBS.rc5_32_12_16_cbc as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 15.4 Yes Yes Yes Yes No
Function: Returns the cipher.
Example:
dim c as CipherMBS = CipherMBS.rc5_32_12_16_cbc
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_cbc
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2
Notes: RC5 with CBC. 32 bit word size, 12 rounds, 16 byte key.

Feedback, Comments & Corrections

CipherMBS.rc5_32_12_16_cfb64 as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 15.4 Yes Yes Yes Yes No
Function: Returns the cipher.
Example:
dim c as CipherMBS = CipherMBS.rc5_32_12_16_cfb64
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_cfb64
CIV = nil

call c.DecryptInit Ckey, CIV

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

MsgBox "Decrypted: "+output2
Notes: RC5 with CFB64. 32 bit word size, 12 rounds, 16 byte key.

Feedback, Comments & Corrections

CipherMBS.rc5_32_12_16_ecb as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 15.4 Yes Yes Yes Yes No
Function: 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
Notes: RC5 with ECB. 32 bit word size, 12 rounds, 16 byte key.

Feedback, Comments & Corrections

CipherMBS.rc5_32_12_16_ofb as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 15.4 Yes Yes Yes Yes No
Function: 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
Notes: RC5 with OFB. 32 bit word size, 12 rounds, 16 byte key.

Feedback, Comments & Corrections

CipherMBS.seed_cbc as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: The cipher for a Seed CBC.

Feedback, Comments & Corrections

CipherMBS.seed_cfb128 as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Seed cipher for CFB128 mode.

Feedback, Comments & Corrections

CipherMBS.seed_ecb as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Cipher for seed ECB.

Feedback, Comments & Corrections

CipherMBS.seed_ofb as CipherMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Encryption and Hash MBS Encryption Plugin 13.5 Yes Yes Yes Yes No
Function: Seed cipher for OFB mode.

Feedback, Comments & Corrections

Previous items

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




Links
MBS Xojo tutorial videos