public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
adjustDESParity(byte[] bytes)
DES Keys use the LSB as the odd parity bit.
|
static boolean |
isDESParityAdjusted(byte[] bytes)
DES Keys use the LSB as the odd parity bit.
|
public static void adjustDESParity(byte[] bytes)
bytes
- the byte array to set the odd parity on.public static boolean isDESParityAdjusted(byte[] bytes)
bytes
- the byte[] to be checked