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