Enum SmsSignatureGenerator.Method
- Namespace
- Vonage.Cryptography
- Assembly
- Vonage.dll
Identifies the hashing algorithm used to compute the SMS request signature.
public enum SmsSignatureGenerator.Method
Fields
md5 = 1HMAC-MD5 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest.
md5hash = 0Legacy MD5 hash of
query + secret. Produces a lowercase hexadecimal digest. Kept for backwards compatibility; prefer one of the HMAC variants for new integrations.sha1 = 2HMAC-SHA1 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest.
sha256 = 3HMAC-SHA256 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest.
sha512 = 4HMAC-SHA512 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest. Recommended for new integrations.