public virtual byte[] doFinal() { //return mac.doFinal(); cs.Close(); byte[] result = hmac.Hash; hmac.Initialize(); cs = new System.Security.Cryptography.CryptoStream(System.IO.Stream.Null, hmac, System.Security.Cryptography.CryptoStreamMode.Write); return(result); }
public override void Initialize() { m_hmac.Initialize(); m_hmac.Key = Key; }
public override void Initialize() { _hmac.Initialize(); }