25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pbkdf2.tests.js 401 B

12345678910111213141516
  1. var assert = chai.assert;
  2. describe('LessPass', function () {
  3. describe('pbkdf2', function () {
  4. it('should secret, salt, 2, 32, sha256', function () {
  5. return LessPass.pbkdf2('secret', 'salt', 2, 32, 'sha256').then(function (key) {
  6. assert.equal('f92f45f9df4c2aeabae1ed3c16f7b64660c1f8e377fa9b4699b23c2c3a29f569', key);
  7. })
  8. });
  9. });
  10. });