Password4j/password4j

Hash class should store the hash as byte[]

firaja opened this issue · 0 comments

The Hash class should store the hash in the form of byte[]. This data must not contain the parameters that are normally encoded in the final hash String by the algorithm (like the salt, number of iterations, memory, etc...)

Hash hash = Password.hash(...)...
hash.getBytes();