Modifier and Type | Field and Description |
---|---|
static int |
HASH_LENGTH
The hash length.
|
static int |
NUMBER_OF_ROUNDSP27 |
static int |
NUMBER_OF_ROUNDSP81 |
Constructor and Description |
---|
JCurl(boolean pair,
SpongeFactory.Mode mode) |
JCurl(SpongeFactory.Mode mode) |
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_ROUNDSP81
public static final int NUMBER_OF_ROUNDSP27
public JCurl(boolean pair, SpongeFactory.Mode mode)
public JCurl(SpongeFactory.Mode mode)
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 © 2018. All rights reserved.