PBKDF2 Coffeescript implementation