public byte[] Digest(Mechanism mechanism, Stream inputStream)
{
if (this._disposed)
throw new ObjectDisposedException(this.GetType().FullName);
if (mechanism == null)
throw new ArgumentNullException("mechanism");
if (inputStream == null)
throw new ArgumentNullException("inputStream");
return Digest(mechanism, inputStream, 4096);
}