| Package | Description |
|---|---|
| io.netfall.libargon2.jna |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
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.argon2d_verify(byte[] encoded,
byte[] pwd,
Size_t pwdlen)
Verifies a password against an Argon2d encoded string.
|
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.
|
int |
Argon2Library.argon2i_verify(byte[] encoded,
byte[] pwd,
Size_t pwdlen)
Verifies a password against an Argon2i encoded string.
|
Copyright © 2016. All rights reserved.