using System; using System.Runtime.InteropServices; using Mono.Security.Cryptography; namespace System.Security.Cryptography { /// Computes a Hash-based Message Authentication Code (HMAC) using the hash function. // Token: 0x02000503 RID: 1283 [ComVisible(true)] public class HMACRIPEMD160 : HMAC { /// Initializes a new instance of the class with a randomly generated 64-byte key. // Token: 0x06002F5E RID: 12126 RVA: 0x00098AAC File Offset: 0x00096CAC public HMACRIPEMD160() : this(KeyBuilder.Key(8)) { } /// Initializes a new instance of the class with the specified key data. /// The secret key for encryption. The key can be any length, but if it is more than 64 bytes long it will be hashed (using SHA-1) to derive a 64-byte key. Therefore, the recommended size of the secret key is 64 bytes. /// The parameter is null. // Token: 0x06002F5F RID: 12127 RVA: 0x00098ABC File Offset: 0x00096CBC public HMACRIPEMD160(byte[] key) { base.HashName = "RIPEMD160"; this.HashSizeValue = 160; this.Key = key; } } }