TBlake2B_384
An BLAKE2B-384 message digest.
Example
SuperStrict
Framework BRL.StandardIO
Import Crypto.Blake2BDigest
Local data:String = "Hello Digest World !!"
Local digest:TMessageDigest = GetMessageDigest("BLAKE2B_384")
If digest Then
Print digest.Digest(data)
End If
Methods
Method Update:Int(data:Byte Ptr, dataLen:Int) Override
Updates the hash with dataLen bytes of data.
Method Finish:Int(digest:Byte[]) Override
Finishes hashing and produces the digest, filling digest with the hashed bytes.
The hashing state is reset, ready to create a new digest.