Description of Methods
Setup(digestType as String) as Integer
Initialize a new message digest context. digestType identifies one of the supported digest algorithms from openssl, listed at roEVPDigest
Reinit() as Integer
Re-initialize an existing message digest context. This can be called to reuse an existing roEVPDigest object to digest new data. Returns 0 on success or non-zero on failure.
Process(bytes as Object) as String
The parameter should be an roByteArray. The data in the array is digested and the digest is returned as a hex string.
x = evp.Process(bytes)
is equivalent to
x = evp.Final()
Update(bytes as Object) as Void
Add more data to be digested. The parameter should be an roByteArray. The data in the array is added to the current digest.
Final() as String
Returns the digest of data passed in by previous calls to Update() as a hex string.