Xojo Conferences
XDCApr2018DenverUSA
MBSSep2018MunichEurope

MBS Xojo Encryption Kit 1.0

CommonCryptoHMACMB class:

Class CommonCryptoHMACMB
Sub Constructor(type as CommonCryptoMB.HMacAlgorithm, key as MemoryBlock) // Initialize an CCHmacContext with provided raw key bytes. // algorithm HMAC algorithm to perform. // key Raw key bytes. End
Sub Constructor(type as CommonCryptoMB.HMacAlgorithm, key as string) // Initialize an CCHmacContext with provided raw key bytes. // algorithm HMAC algorithm to perform. // key Raw key bytes. // convert string in current encoding to MemoryBlock End
Sub Constructor(type as CommonCryptoMB.HMacAlgorithm, key as text) // Initialize an CCHmacContext with provided raw key bytes. // algorithm HMAC algorithm to perform. // key Raw key bytes. End
Sub Constructor(type as CommonCryptoMB.HMacAlgorithm, key as xojo.Core.MemoryBlock) // Initialize an CCHmacContext with provided raw key bytes. // algorithm HMAC algorithm to perform. // key Raw key bytes. End
Sub Destructor() // Explicit Cleanup End
Function Final1() As xojo.Core.MemoryBlock // Obtain the final Message Authentication Code. End
Function Final2() As MemoryBlock // Obtain the final Message Authentication Code. End
Sub Update(Data as MemoryBlock) // Process some data. // // data Data to process. // // This can be called multiple times. End
Sub Update(Data as string) // Process some data. // // data Data to process. // // This can be called multiple times. // convert string in current encoding to MemoryBlock End
Sub Update(Data as text) // Process some data. // // data Data to process. // // This can be called multiple times. End
Sub Update(Data as xojo.Core.MemoryBlock) // Process some data. // // data Data to process. // // This can be called multiple times. End
End Class




Links
MBS Xojo Plugins