TWhirlpool
A WHIRPOOL message digest.
Example
SuperStrict
Framework BRL.StandardIO
Import Crypto.WhirlpoolDigest
Local data:String = "Hello Digest World !!"
Local digest:TMessageDigest = GetMessageDigest("WHIRLPOOL")
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.