/// <summary> /// Computes a hash using the configured <c>HashAlgorithm</c>. /// <seealso cref="IHashProvider.CreateHash"/> /// </summary> /// <param name="plaintext"><seealso cref="IHashProvider.CreateHash"/></param> /// <returns><seealso cref="IHashProvider.CreateHash"/></returns> public byte[] CreateHash(byte[] plaintext) { byte[] hash = CreateHashWithSalt(plaintext, null); SecurityCryptoHashCreateEvent.Fire(string.Empty); return(hash); }
private void FireSecurityCryptoHashCreateEvent() { SecurityCryptoHashCreateEvent.Fire(testMessage); }
private void FireSecurityCryptoHashCreateEvent() { SecurityCryptoHashCreateEvent.Fire("test"); }