phxql / argon2-jvm

Argon2 Binding for the JVM
GNU Lesser General Public License v3.0
331 stars 33 forks source link

API for password as byte[] #61

Closed re-thc closed 5 years ago

re-thc commented 5 years ago

Hi, in Java 9+ with compact strings, String are no longer represented as char[] internally. It would be good if the API can accept a password as a byte[] in addition to the char[] and String options.

Thanks!

phxql commented 5 years ago

Yes, good idea. I'll add that.

phxql commented 5 years ago

Next version will include the change.