 
 ###*
  * PBKDF2
- * @param  {string|buffer} password      The password to derive a key from.
- * @param  {string|buffer} salt          The salt.
- * @param  {number} [count=10000] Number of iterations.
- * @param  {number} [length=512]  The SHA algorithm to use.
- * @return {buffer}               The derived key.
+ * @param {string|buffer} password The password to derive a key from.
+ * @param {string|buffer} salt The salt.
+ * @param {number} [count=10000] Number of iterations.
+ * @param {number} [length=512] The SHA algorithm to use.
+ * @return {buffer} The derived key.
 ###
 module.exports = (password, salt, count=10000, length=512) ->
 



###*
 * @class A simple HMAC system
###
class Hmac

  ###*
   * @constructor
   * @param {buffer} key The key to derive data from
   * @param {number} size The SHA algorithm to use
  ###
  constructor: (key, size) ->
    @key = new Buffer(key)

      last[j] ^= xorsum[j]
      j++
    i++

  return last.toString('hex')
