コード例 #1
0
 public void hashPassword_Test()
 {
     try
     {
         Init();
         bool res = passwordHandler.hashPassword(password, ID);
         SaltesAndPepperEntry = passwordHandler.GetPasswordForMember(ID);
         byte[] salt   = SaltesAndPepperEntry.salt;
         byte[] pepper = SaltesAndPepperEntry.pepper;
         Assert.IsTrue(res);
     }
     finally
     {
         Cealup();
     }
 }