GLib.Hmac – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Hmac
compute_for_data
compute_for_string
compute_hmac_for_bytes
Hmac
copy
get_digest
get_string
update
Hmac
Object Hierarchy:
Description:
[
Compact
]
[
Version
( since =
"2.30"
) ]
public
class
Hmac
Namespace:
GLib
Package:
glib-2.0
Content:
Static methods:
public
static
string
compute_for_data
(
ChecksumType
checksum_type,
uint8
[] key,
uint8
[] data)
public
static
string
compute_for_string
(
ChecksumType
checksum_type,
uint8
[] key,
string
str,
size_t
length =
-1
)
public
static
string
compute_hmac_for_bytes
(
ChecksumType
checksum_type,
Bytes
key,
Bytes
data)
Creation methods:
public
Hmac
(
ChecksumType
digest_type,
uint8
[] key)
Methods:
public
Hmac
copy
()
public
void
update
(
uint8
[] data)
public
unowned
string
get_string
()
public
void
get_digest
(
uint8
[] buffer,
ref
size_t
digest_len)