enum GLib::ChecksumType


The hashing algorithm to be used by #GChecksum when performing the digest of some data.

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

Defined in:


Enum Members

Md5 = 0_u32

Use the MD5 hashing algorithm

Sha1 = 1_u32

Use the SHA-1 hashing algorithm

Sha256 = 2_u32

Use the SHA-256 hashing algorithm

Sha512 = 3_u32

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

Sha384 = 4_u32

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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def md5? #

def sha1? #

def sha256? #

def sha384? #

def sha512? #