Partial implementation of Crypt::PBKDF2 with minimal dependencies on external libraries