CipherAlgorithm
Overview
CipherAlgorithm is an enum in Aspose.Cells FOSS for Python.
Cipher algorithm enumeration.
This enum declares 1 method for CipherAlgorithm objects in Python programs.
Available methods include: __init__.
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 | |
AES_192 | |
AES_256 | Provides the algorithm name, key size, and block size for 256‑bit AES encryption |
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) | Calls init(name, key_bits, alg_id) on this CipherAlgorithm instance. |