Java.Security.MessageDigest.Digest Method
Computes and stores the final hash value for this Java.Security.MessageDigest.

Syntax

[Android.Runtime.Register("digest", "([BII)I", "GetDigest_arrayBIIHandler")]
public virtual int Digest (byte[] buf, int offset, int len)

See Also

MessageDigest.Reset

Parameters

buf
the buffer to store the result
offset
the index of the first byte in buf to store
len
the number of bytes allocated for the digest

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.DigestExceptionif an error occurs
Java.Lang.IllegalArgumentExceptionif offset or len are not valid in respect to buf

Remarks

Computes and stores the final hash value for this Java.Security.MessageDigest. After the digest is computed the receiver is reset.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1