Table of Contents

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 = 1

HMAC-MD5 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest.

md5hash = 0

Legacy MD5 hash of query + secret. Produces a lowercase hexadecimal digest. Kept for backwards compatibility; prefer one of the HMAC variants for new integrations.

sha1 = 2

HMAC-SHA1 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest.

sha256 = 3

HMAC-SHA256 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest.

sha512 = 4

HMAC-SHA512 of the query keyed by the signature secret. Produces an uppercase hexadecimal digest. Recommended for new integrations.