public class SHA
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
ComputeSHA(byte[] MT,
byte[] result,
int offset)
Does Dallas SHA, as specified in DS1963S datasheet.
|
static void |
ComputeSHA(byte[] MT,
int[] ABCDE)
Does Dallas SHA, as specified in DS1963S datasheet.
|
public static final byte[] ComputeSHA(byte[] MT, byte[] result, int offset)
MT
- The message block (padded if necessary).result
- The byte[] into which the result will be copied.offset
- The starting location in 'result' to start copying.public static final void ComputeSHA(byte[] MT, int[] ABCDE)
MT
- The message block (padded if necessary).ABCDE
- The result will be copied into this 5-int array.Copyright © 1999-2012 Maxim Integrated Products. All Rights Reserved.