예제 #1
0
        public void Setup()
        {
            _encryption = Encryption.GetInstance();

            _fakePassword = "******";
            _fakeIV       = _encryption.GenerateIV();
            _fakeSalt     = _encryption.GenerateSalt();
            _fakeKey      = _encryption.CreateKey(_fakePassword, _fakeSalt);
        }
예제 #2
0
 /*************************************************************************************************/
 public string GeneratePasswordKey()
 {
     return(_encryptDecrypt.CreateKey(DEFAULT_PASSWORD_LENGTH));
 }