CipherAlgorithm
Overview
CipherAlgorithm is a enum in Aspose.Cells FOSS for Python.
Cipher algorithm enumeration.
This enum provides 1 method for working with CipherAlgorithm objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: alg_id, algorithm_name, block_size, key_bits, key_bytes.
Values
| Value | Description |
|---|---|
AES_128 | Represents AES with a 128‑bit key and ID 0x660E |
AES_192 | Represents AES with a 192‑bit key and ID 0x660F |
AES_256 | Represents AES with a 256‑bit key and ID 0x6610 |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
key_bytes | `` | Read | Get key size in bytes. |
block_size | `` | Read | Get block size in bytes (AES uses 16-byte blocks). |
algorithm_name | `` | Read | Gets the algorithm name. |
key_bits | `` | Read | Gets the key bits. |
alg_id | `` | Read | Gets the alg id. |
Methods
| Signature | Description |
|---|---|
__init__(name, key_bits, alg_id) |