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

# PasswordDerivation

## Overview

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

Password derivation helpers for Agile encryption.

This class declares 3 methods for PasswordDerivation objects in Python programs.
Available methods include: `derive_hash_agile`, `derive_iv_agile`, `derive_key_with_block_key`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `derive_hash_agile(password, salt, hash_algorithm, spin_count)` | Derive H_n for Agile encryption (MS-OFFCRYPTO 2.3.4.11). |
| `derive_key_with_block_key(h_base, block_key, hash_algorithm, key_bits)` | Derive key from H_n and block key (MS-OFFCRYPTO 2.3.4.11). |
| `derive_iv_agile(salt, block_key, hash_algorithm, block_size)` | Derive IV for Agile encryption (MS-OFFCRYPTO 2.3.4.12). |

## See Also

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