Hmac


Object Hierarchy:

Object hierarchy for Hmac

Description:

public class Hmac : Object

Static utility methods for HMAC.

HMAC helpers support message authentication with SHA-256/SHA-512 and a timing-safe verification helper for comparing expected and actual digests.

Example:

    string sig = Hmac.sha256 ("secret", "message");
bool ok = Hmac.verify (sig, sig);


Namespace: Vala.Crypto
Package: Valacore

Content:

Static methods:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object