HashAlgorithm
HashAlgorithm
Overview
HashAlgorithm 是Python的Aspose.Cells FOSS中的一个enum.
哈希算法编号.
这个enum提供了一个方法,用于在Python程序中使用HashAlgorithm对象. 有的方法包括: __init__. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: alg_id, algorithm_name, hash_bytes.
Values
| Value | Description |
|---|---|
SHA1 | 表示 SHA-1 哈希算法,输出 20 字节,ID 0x8004 |
SHA256 | 表示 SHA-256 哈希算法,输出 32 字节和 ID 0x800C. |
SHA384 | 表示SHA-384哈希算法,输出48字节和ID0x800D. |
SHA512 | 表示SHA-512哈希算法,输出64字节和ID0x800E. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
algorithm_name | `` | Read | 得到了算法的名称. |
hash_bytes | `` | Read | 得到了哈希字节. |
alg_id | `` | Read | 得到了身份证. |
Methods
| Signature | Description |
|---|---|
__init__(name, hash_bytes, alg_id) |