public class MACTripleDES : KeyedHashAlgorithm { // Public Constructors public MACTripleDES( ); public MACTripleDES(byte[ ] rgbKey); public MACTripleDES(string strTripleDES, byte[ ] rgbKey); // Public Instance Methods public override void Initialize( ); // overrides HashAlgorithm// Protected Instance Methods protected override void Dispose(bool disposing); // overrides KeyedHashAlgorithm protected override void Finalize( ); // overrides KeyedHashAlgorithm protected override void HashCore(byte[ ] rgbData, int ibStart, int cbSize); // overrides HashAlgorithm protected override byte[ ] HashFinal( ); // overrides HashAlgorithm }
This class extends the KeyedHashAlgorithm class and implements the MAC-Triple-DES algorithm, which uses the Triple-DES encryption algorithm to create a keyed hash code.