sharplispers / ironclad

A cryptographic toolkit written in Common Lisp
BSD 3-Clause "New" or "Revised" License
166 stars 28 forks source link

Please expose the key length on pbkdf2-hash-password #64

Open Shinmera opened 10 months ago

Shinmera commented 10 months ago

Some password hashing implementations require a specific key length. It would be great to have that parameter as another keyword argument on pbkdf2-hash-password. Currently I have to directly call pbkdf2-derive-key, which is not exported.

glv2 commented 10 months ago

There is an exported derive-key method that you can use instead of calling pbkdf2-derive-key directly.