public class ConstantTimeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areEqual(byte[] a,
byte[] b)
Checks the specified arrays for equality in constant time.
|
public static boolean areEqual(byte[] a, byte[] b)
a - The first array. Must not be null.b - The second array. Must not be null.true if the two arrays are equal, else
false.Copyright © 2019 Connect2id Ltd.. All rights reserved.