besser82 / libxcrypt

Extended crypt library for descrypt, md5crypt, bcrypt, and others
GNU Lesser General Public License v2.1
189 stars 52 forks source link

Fixes for issue 145 #146

Closed besser82 closed 2 years ago

besser82 commented 2 years ago

doc/crypt.5: Document the recommended amount of salt-bits for yescrypt.

Also document the same value as the recommended amount for gost-yescrypt and scrypt.


lib: Silently truncate rbytes after a maximum of 512 bits for yescrypt.

Likewise for gost-yescrypt and scrypt, as those hashing methods share the same codebase.

besser82 commented 2 years ago

@solardiz Please let me know, if you are fine with these changes.