ByteExtensions Class
- java.
lang. Object - com.
microsoft. azure. keyvault. cryptography. ByteExtensions
- com.
public class ByteExtensions
Method Summary
Modifier and Type | Method and Description |
---|---|
byte [] | or(byte[] self, byte[] other) |
byte [] | or(byte[] self, byte[] other, int offset) |
boolean |
sequenceEqualConstantTime(byte[] self, byte[] other)
Compares two byte arrays in constant time. |
byte [] | xor(byte[] self, byte[] other) |
void | zero(byte[] self) |
Method Details
or
public static byte [] or(byte[] self, byte[] other)
Parameters:
or
public static byte [] or(byte[] self, byte[] other, int offset)
Parameters:
sequenceEqualConstantTime
public static boolean sequenceEqualConstantTime(byte[] self, byte[] other)
Compares two byte arrays in constant time.
Parameters:
Returns:
xor
public static byte [] xor(byte[] self, byte[] other)
Parameters:
zero
public static void zero(byte[] self)
Parameters: