MessageDigest.IsEqual(Byte[], Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two digests for equality.
[Android.Runtime.Register("isEqual", "([B[B)Z", "")]
public static bool IsEqual (byte[]? digesta, byte[]? digestb);
[<Android.Runtime.Register("isEqual", "([B[B)Z", "")>]
static member IsEqual : byte[] * byte[] -> bool
Parameters
- digesta
- Byte[]
one of the digests to compare.
- digestb
- Byte[]
the other digest to compare.
Returns
true if the digests are equal, false otherwise.
- Attributes
Remarks
Compares two digests for equality. Two digests are equal if they have the same length and all bytes at corresponding positions are equal.
Java documentation for java.security.MessageDigest.isEqual(byte[], byte[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.