Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Auth.Hash.Sha256
Represents the SHA256 password hashing algorithm.
Summary
Can be used as an instance of UserImportHash when importing users.
Inheritance
Inherits from:
FirebaseAdmin.Auth.Hash.RepeatableHash
Constructors and Destructors
|
Sha256()
Initializes a new instance of the Sha256 class.
|
Properties
|
MaxRounds
|
override int
Gets the maximum number of rounds for a SHA256 hash, which is 8192.
|
MinRounds
|
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 class.
Defines the name of the hash to be equal to SHA256.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-24 UTC.
[null,null,["Last updated 2022-03-24 UTC."],[],[],null,["# FirebaseAdmin.Auth.Hash.Sha256 Class Reference\n\nFirebaseAdmin.Auth.Hash.Sha256\n==============================\n\nRepresents the SHA256 password hashing algorithm.\n\nSummary\n-------\n\nCan be used as an instance of [UserImportHash](/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.\n\n### Inheritance\n\nInherits from: [FirebaseAdmin.Auth.Hash.RepeatableHash](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/repeatable-hash)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Sha256](#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256_1a514b481f86c7e9b6733dc82855959c4f)`()` Initializes a new instance of the [Sha256](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256) class. ||\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| [MaxRounds](#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. |\n| [MinRounds](#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. |\n\nProperties\n----------\n\n### MaxRounds\n\n```text\noverride int MaxRounds\n``` \nGets the maximum number of rounds for a SHA256 hash, which is 8192. \n\n### MinRounds\n\n```text\noverride int MinRounds\n``` \nGets the minimum number of rounds for a SHA256 hash, which is 1.\n\nPublic functions\n----------------\n\n### Sha256\n\n```text\n Sha256()\n``` \nInitializes a new instance of the [Sha256](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/sha256#class_firebase_admin_1_1_auth_1_1_hash_1_1_sha256) class.\n\nDefines the name of the hash to be equal to SHA256."]]