GCrypt.Hash – gcrypt Reference Manual
Hash
Object Hierarchy:
GCrypt.Hash
GCrypt.Hash
GCrypt.Hash
Description:
[
Compact
]
[
CCode
( cname =
"struct gcry_md_handle"
, cprefix =
"gcry_md_"
, free_function =
"gcry_md_close"
) ]
public
class
Hash
Namespace:
GCrypt
Package:
gcrypt
Content:
Enums:
Algorithm
Flag
Static methods:
public
static
void
hash_buffer
(
Algorithm
algo,
uchar
[] digest,
uchar
[] buffer)
public
static
Error
list
(
ref
Algorithm
[] algos)
public
static
Error
open
(
out
Hash
hash,
Algorithm
algo,
Flag
flag)
Methods:
public
void
close
()
public
Error
control
(
ControlCommand
cmd,
uchar
[] buffer)
public
Error
copy
(
out
Hash
dst)
public
Error
enable
(
Algorithm
algo)
public
void
final
()
public
Algorithm
get_algo
()
public
Error
info
(
ControlCommand
what,
uchar
[] buffer)
public
bool
is_enabled
(
Algorithm
algo)
public
bool
is_secure
()
public
void
putc
(
char
c)
public
unowned
uchar
[]
read
(
Algorithm
algo)
public
void
reset
()
public
Error
set_key
(
uchar
[] key_data)
public
void
write
(
uchar
[] buffer)
2022 vala-language.org