Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
パスワードを暗号化してdbに保存しましたが、ログイン時に復号化している間、dbに保存されているパスと一致しない新しいパスが毎回生成されます.SimpleCryptoクラスを使用しました。この問題を解決するにはどうすればよいですか??
compute登録中に生成された PasswordSalt u も渡す場合
compute
var crypto = new SimpleCrypto.PBKDF2();
Database から PasswordSalt を取得し、次のように渡します
var pas = crypto.Compute(pass,pass_salt);