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

ValueDescription
AES_128Represents AES with a 128‑bit key and ID 0x660E
AES_192Represents AES with a 192‑bit key and ID 0x660F
AES_256Represents AES with a 256‑bit key and ID 0x6610

Properties

NameTypeAccessDescription
key_bytes``ReadGet key size in bytes.
block_size``ReadGet block size in bytes (AES uses 16-byte blocks).
algorithm_name``ReadGets the algorithm name.
key_bits``ReadGets the key bits.
alg_id``ReadGets the alg id.

Methods

SignatureDescription
__init__(name, key_bits, alg_id)

See Also