# FirebaseAdmin.Auth.Hash.Sha256

Represents the SHA256 password hashing algorithm.

## Summary

Can be used as an instance of [UserImportHash](https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/user-import-hash#class_firebase_admin_1_1_auth_1_1_user_import_hash) when importing users.

### Inheritance

Inherits from: [FirebaseAdmin.Auth.Hash.RepeatableHash](https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/repeatable-hash)

| ### Constructors and Destructors ||
|---|---|
| `https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256_1a514b481f86c7e9b6733dc82855959c4f()` Initializes a new instance of the [Sha256](https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256) class. ||

| ### Properties ||
|---|---|
| `https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256_1acb6770884d5f855dce09dbfc096db373` | `override int` Gets the maximum number of rounds for a SHA256 hash, which is 8192. |
| `https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256_1aa9d509e6a48cd8f7fbf83c85461bfcf8` | `override int` Gets the minimum number of rounds for a SHA256 hash, which is 1. |

## Properties

### MaxRounds

```
override int MaxRounds
```
Gets the maximum number of rounds for a SHA256 hash, which is 8192.

### MinRounds

```
override int MinRounds
```
Gets the minimum number of rounds for a SHA256 hash, which is 1.

## Public functions

### Sha256

```
 Sha256()
```
Initializes a new instance of the [Sha256](https://firebase.google.com/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256) class.

Defines the name of the hash to be equal to SHA256.