scrypt-params ::= SEQUENCE {
salt OCTET STRING,
costParameter INTEGER (1..MAX),
blockSize INTEGER (1..MAX),
parallelizationParameter INTEGER (1..MAX),
keyLength INTEGER (1..MAX) OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ScryptParams(byte[] salt, int costParameter, int blockSize, int parallelizationParameter, int keyLength)
|
| public | ScryptParams(byte[]
salt value salt, BigInteger specifies the CPU/Memory cost parameter N costParameter, BigInteger block size parameter r blockSize, BigInteger parallelization parameter parallelizationParameter, BigInteger length of key to be derived (in octects) keyLength)Base constructor. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public BigInteger | |
| public static ScryptParams | |
| public BigInteger | Returns: length for key to be derived (in octets)Return the length in octets for the derived key. |
| public BigInteger | |
| public byte[] | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. |
| blockSize | back to summary |
|---|---|
| private final BigInteger blockSize | |
| costParameter | back to summary |
|---|---|
| private final BigInteger costParameter | |
| keyLength | back to summary |
|---|---|
| private final BigInteger keyLength | |
| parallelizationParameter | back to summary |
|---|---|
| private final BigInteger parallelizationParameter | |
| salt | back to summary |
|---|---|
| private final byte[] salt | |
| ScryptParams | back to summary |
|---|---|
| public ScryptParams(byte[] salt, int costParameter, int blockSize, int parallelizationParameter) | |
| ScryptParams | back to summary |
|---|---|
| public ScryptParams(byte[] salt, int costParameter, int blockSize, int parallelizationParameter, int keyLength) | |
| ScryptParams | back to summary |
|---|---|
| public ScryptParams(byte[] salt, BigInteger costParameter, BigInteger blockSize, BigInteger parallelizationParameter, BigInteger keyLength) Base constructor.
| |
| ScryptParams | back to summary |
|---|---|
| private ScryptParams(ASN1Sequence seq) | |
| getBlockSize | back to summary |
|---|---|
| public BigInteger getBlockSize() | |
| getCostParameter | back to summary |
|---|---|
| public BigInteger getCostParameter() | |
| getInstance | back to summary |
|---|---|
| public static ScryptParams getInstance(Object o) | |
| getKeyLength | back to summary |
|---|---|
| public BigInteger getKeyLength() Return the length in octets for the derived key.
| |
| getParallelizationParameter | back to summary |
|---|---|
| public BigInteger getParallelizationParameter() | |
| getSalt | back to summary |
|---|---|
| public byte[] getSalt() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |