|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Encryption and Hash||MBS MacOSX Plugin||11.3||Yes||No||No||Yes, macOS only||No|
dim h as new CCHMacMBS(CCHMacMBS.kCCHmacAlgSHA1, "Hello")
h.Update "Hello World!"
dim m as MemoryBlock = h.Finalize
- property Algorithm as Integer
- 8 methods
- method Constructor(algorithm as Integer, key as memoryblock)
- method Constructor(algorithm as Integer, key as Ptr, keyLength as UInt64)
- method Constructor(algorithm as Integer, key as string)
- method Final(macOut as Ptr)
- method Finalize as Memoryblock
- method Update(data as memoryblock)
- method Update(data as Ptr, dataLength as UInt64)
- method Update(data as string)
- 2 shared methods
- 8 constants
Digest Length Constants
This class has no sub classes.
Some examples which use this class:
The items on this page are in the following plugins: MBS MacOSX Plugin.
MBS Xojo Plugins