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