A complete, customizable pure-Ruby implementation of PBKDF2.