HashAlgorithm

Overview

HashAlgorithm is a enum in Aspose.Cells FOSS for Python.

Hash algorithm enumeration.

Values

ValueDescription
SHA1Represents the SHA-1 algorithm with a 20‑byte output and ID 0x8004
SHA256Represents the SHA-256 algorithm with a 32‑byte output and ID 0x800C
SHA384Represents the SHA-384 algorithm with a 48‑byte output and ID 0x800D
SHA512Represents the SHA-512 algorithm with a 64‑byte output and ID 0x800E

Properties

NameTypeAccessDescription
algorithm_name``ReadIs the name of the hash algorithm
hash_bytes``ReadIs the byte array containing the computed hash value
alg_id``ReadIs the numeric identifier of the hash algorithm

Methods

SignatureDescription
__init__(name, hash_bytes, alg_id)

See Also