Enumeration (GI Enum)

GLib-2.0GLibChecksumTypeSince 2.16

The hashing algorithm to be used by GLib.Checksum when performing the digest of some data.

Note that the GLib.ChecksumType enumeration may be extended at a later date to include new hashing algorithm types.

2.16

Index
MD5: 0

Use the MD5 hashing algorithm

SHA1: 1

Use the SHA-1 hashing algorithm

SHA256: 2

Use the SHA-256 hashing algorithm

SHA384: 4

Use the SHA-384 hashing algorithm (Since: 2.51)

SHA512: 3

Use the SHA-512 hashing algorithm (Since: 2.36)