TRipemd256
An Ripemd-256 message digest.
Example
SuperStrict
Framework BRL.StandardIO
Import Crypto.Ripemd256Digest
Local data:String = "Hello Digest World !!"
Local digest:TMessageDigest = GetMessageDigest("RIPEMD-256")
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.