public void HashPassword() { var target = new Pbkdf2Security(this._Configuration); // this._NumberOfRounds = 1000; //HelloWorld //M4jZrsPV2wNAeOH1YooKUdALx6Ek0DJaMf8yoiYI0Mc= Assert.Equal("M4jZrsPV2wNAeOH1YooKUdALx6Ek0DJaMf8yoiYI0Mc=", target.HashPassword("HelloWorld")); }
public IntegrationsController(AccountService accountService, Pbkdf2Security pbkdf2Security) { this._AccountService = accountService; this._Pbkdf2Security = pbkdf2Security; }