| Modifier and Type | Field and Description |
|---|---|
int |
cost
The cost (log2 factor) used to create the hash
|
byte[] |
rawHash
The raw 23 bytes of hash (not the radix64 encoded version)
|
byte[] |
rawSalt
The raw 16 bytes of the salt (not the radix64 encoded version)
|
BCrypt.Version |
version
The used version
|
| Constructor and Description |
|---|
HashData(int cost,
BCrypt.Version version,
byte[] rawSalt,
byte[] rawHash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
void |
wipe()
Internally wipe the salt and hash byte arrays
|
public final int cost
public final BCrypt.Version version
public final byte[] rawSalt
public final byte[] rawHash
public HashData(int cost,
BCrypt.Version version,
byte[] rawSalt,
byte[] rawHash)
Copyright © 2018–2019. All rights reserved.