---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/encryptionparameters
---

# EncryptionParameters

## Overview

`EncryptionParameters` is a class in Aspose.Cells FOSS for Python.

Base class for encryption parameters.

This class declares 1 method for EncryptionParameters 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: `cipher_algorithm`, `encryption_type`, `hash_algorithm`, `spin_count`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `encryption_type` | - | Read | Gets the encryption type. |
| `cipher_algorithm` | - | Read | Gets the cipher algorithm. |
| `hash_algorithm` | - | Read | Gets the hash algorithm. |
| `spin_count` | - | Read | Gets the spin count. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(encryption_type, cipher_algorithm, hash_algorithm, spin_count)` | Initialize encryption parameters. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)