| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_LENGTH |
static int |
NUMBER_OF_ROUNDS_P27 |
static int |
NUMBER_OF_ROUNDS_P81 |
| Modifier and Type | Method and Description |
|---|---|
JCurl |
absorb(int[] trits)
Absorbs the specified trits.
|
JCurl |
absorb(int[] trits,
int offset,
int length)
Absorbs the specified trits.
|
void |
absorb(Pair<long[],long[]> pair,
int offset,
int length) |
ICurl |
clone()
Clones this instance.
|
int[] |
getState()
Gets the states.
|
JCurl |
reset()
Resets this state.
|
JCurl |
reset(boolean pair) |
void |
setState(int[] state)
Sets the state.
|
int[] |
squeeze(int[] trits)
Squeezes the specified trits.
|
int[] |
squeeze(int[] trits,
int offset,
int length)
Squeezes the specified trits.
|
Pair<long[],long[]> |
squeeze(Pair<long[],long[]> pair,
int offset,
int length) |
JCurl |
transform()
Transforms this instance.
|
public static final int HASH_LENGTH
public static final int NUMBER_OF_ROUNDS_P81
public static final int NUMBER_OF_ROUNDS_P27
public JCurl absorb(int[] trits, int offset, int length)
public JCurl absorb(int[] trits)
public JCurl transform()
public JCurl reset()
public JCurl reset(boolean pair)
public int[] squeeze(int[] trits,
int offset,
int length)
public int[] squeeze(int[] trits)
public int[] getState()
public void setState(int[] state)
public void absorb(Pair<long[],long[]> pair, int offset, int length)
Copyright © 2019. All rights reserved.