| Package | Description |
|---|---|
| io.netfall.libargon2 | |
| io.netfall.libargon2.jna |
| Modifier and Type | Method and Description |
|---|---|
protected int |
Argon2d.callLibraryHash(byte[] pwd,
byte[] salt,
Uint32_t iterations,
Uint32_t memory,
Uint32_t parallelism,
byte[] encoded) |
protected int |
Argon2i.callLibraryHash(byte[] pwd,
byte[] salt,
Uint32_t iterations,
Uint32_t memory,
Uint32_t parallelism,
byte[] encoded) |
| Modifier and Type | Method and Description |
|---|---|
Size_t |
Argon2Library.argon2_encodedlen(Uint32_t t_cost,
Uint32_t m_cost,
Uint32_t parallelism,
Uint32_t saltlen,
Uint32_t hashlen)
Returns the encoded hash length for the given input parameters.
|
int |
Argon2Library.argon2d_hash_encoded(Uint32_t t_cost,
Uint32_t m_cost,
Uint32_t parallelism,
byte[] pwd,
Size_t pwdlen,
byte[] salt,
Size_t saltlen,
Size_t hashlen,
byte[] encoded,
Size_t encodedlen)
Hashes a password with Argon2d, producing an encoded hash.
|
int |
Argon2Library.argon2i_hash_encoded(Uint32_t t_cost,
Uint32_t m_cost,
Uint32_t parallelism,
byte[] pwd,
Size_t pwdlen,
byte[] salt,
Size_t saltlen,
Size_t hashlen,
byte[] encoded,
Size_t encodedlen)
Hashes a password with Argon2i, producing an encoded hash.
|
Copyright © 2016. All rights reserved.