} // end function Clear public override IHash Clone() { HMACNotBuildInAdapter hmac = new HMACNotBuildInAdapter(hash.Clone()); hmac.opad = opad.DeepCopy(); hmac.ipad = ipad.DeepCopy(); hmac.key = key.DeepCopy(); hmac.workingKey = workingKey.DeepCopy(); hmac.BufferSize = BufferSize; return(hmac); }
public static IHMAC CreateHMAC(IHash hash, byte[] a_HMACKey) => HMACNotBuildInAdapter.CreateHMAC(hash, a_HMACKey);