poowf / react-native-argon2

MIT License
5 stars 8 forks source link

Error when passing a 16 bits salt #21

Open Eldii opened 1 year ago

Eldii commented 1 year ago

Is it possible to pass a 16 bit salt to encode a password ? When I am trying to, I have the following error : [Error: src.length=16 srcPos=-16 dst.length=32 dstPos=0 length=32] Looks like it accepts only 32 bits minimum...

Thanks by advance !