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

ValueDescription
AES_128
AES_192
AES_256Provides the algorithm name, key size, and block size for 256‑bit AES encryption

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)Calls init(name, key_bits, alg_id) on this CipherAlgorithm instance.

See Also

 English