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

# HashAlgorithm

## Overview

`HashAlgorithm` is an enum in Aspose.Cells FOSS for Python.

Hash algorithm enumeration.

This enum declares 1 method for HashAlgorithm 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`, `hash_bytes`.

## Values

| Value | Description |
|-------|-------------|
| `SHA1` |  |
| `SHA256` |  |
| `SHA384` |  |
| `SHA512` |  |

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `algorithm_name` | - | Read | Gets the algorithm name. |
| `hash_bytes` | - | Read | Gets the hash bytes. |
| `alg_id` | - | Read | Gets the alg id. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(name, hash_bytes, alg_id)` | Calls __init__(name, hash_bytes, alg_id) on this HashAlgorithm instance. |

## See Also

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