Computes RFC 2104-compliant HMAC signature

C# |
public static string HMACSign( string data, SecureString key, KeyedHashAlgorithm algorithm )

- data (String)
- The data to be signed
- key (SecureString)
- The secret signing key
- algorithm (KeyedHashAlgorithm)
- The algorithm to sign the data with

A string representing the HMAC signature

Exception | Condition |
---|---|
ArgumentNullException |