Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Auth.Hash.StandardScrypt
Represents the Standard Scrypt password hashing algorithm.
Summary
Can be used as an instance of UserImportHash when importing users.
Inheritance
Inherits from:
FirebaseAdmin.Auth.UserImportHash
Properties
|
BlockSize
|
int
Gets or sets the block size for the hashing algorithm.
|
DerivedKeyLength
|
int
Gets or sets the derived key length for the hashing algorithm.
|
MemoryCost
|
int
Gets or sets memory cost for the hashing algorithm.
|
Parallelization
|
int
Gets or sets parallelization of the hashing algorithm.
|
Protected functions
|
GetHashConfiguration()
|
virtual override IReadOnlyDictionary< string, object >
Returns the options for the hashing algorithm.
|
Properties
BlockSize
int BlockSize
Gets or sets the block size for the hashing algorithm.
The size cannot be negative.
DerivedKeyLength
int DerivedKeyLength
Gets or sets the derived key length for the hashing algorithm.
The length cannot be negative.
MemoryCost
int MemoryCost
Gets or sets memory cost for the hashing algorithm.
The memory cost cannot be negative.
Parallelization
int Parallelization
Gets or sets parallelization of the hashing algorithm.
The parallelization factor cannot be negative.
Public functions
StandardScrypt
StandardScrypt()
Initializes a new instance of the StandardScrypt class.
Defines the name of the hash to be equal to STANDARD_SCRYPT.
Protected functions
GetHashConfiguration
virtual override IReadOnlyDictionary< string, object > GetHashConfiguration()
Returns the options for the hashing algorithm.
Details |
Returns
|
Dictionary defining options such as derived key length, block size, parallelization and memory cost.
|
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.StandardScrypt Class Reference\n\nFirebaseAdmin.Auth.Hash.StandardScrypt\n======================================\n\nRepresents the Standard [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) 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.UserImportHash](/docs/reference/admin/dotnet/class/firebase-admin/auth/user-import-hash)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [StandardScrypt](#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt_1a9de28deebf2822c9d6e2782547481ad5)`()` Initializes a new instance of the [StandardScrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/standard-scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt) class. ||\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [BlockSize](#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt_1a5ca5153fe7e5566d8e4af212a0082e04) | `int` Gets or sets the block size for the hashing algorithm. |\n| [DerivedKeyLength](#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt_1aaf42d3e402d351daef8d816a97a3073b) | `int` Gets or sets the derived key length for the hashing algorithm. |\n| [MemoryCost](#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt_1a32d2455fd9c65d291bc992b01c5daa4e) | `int` Gets or sets memory cost for the hashing algorithm. |\n| [Parallelization](#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt_1a249d039b3a212b5306aa9dd79d38d66e) | `int` Gets or sets parallelization of the hashing algorithm. |\n\n| ### Protected functions ||\n|----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [GetHashConfiguration](#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt_1a87fb5fe08a51c29526bf3926b83a1052)`()` | `virtual override IReadOnlyDictionary\u003c string, object \u003e` Returns the options for the hashing algorithm. |\n\nProperties\n----------\n\n### BlockSize\n\n```text\nint BlockSize\n``` \nGets or sets the block size for the hashing algorithm.\n\nThe size cannot be negative. \n\n### DerivedKeyLength\n\n```text\nint DerivedKeyLength\n``` \nGets or sets the derived key length for the hashing algorithm.\n\nThe length cannot be negative. \n\n### MemoryCost\n\n```text\nint MemoryCost\n``` \nGets or sets memory cost for the hashing algorithm.\n\nThe memory cost cannot be negative. \n\n### Parallelization\n\n```text\nint Parallelization\n``` \nGets or sets parallelization of the hashing algorithm.\n\nThe parallelization factor cannot be negative.\n\nPublic functions\n----------------\n\n### StandardScrypt\n\n```text\n StandardScrypt()\n``` \nInitializes a new instance of the [StandardScrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/standard-scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_standard_scrypt) class.\n\nDefines the name of the hash to be equal to STANDARD_SCRYPT.\n\nProtected functions\n-------------------\n\n### GetHashConfiguration\n\n```text\nvirtual override IReadOnlyDictionary\u003c string, object \u003e GetHashConfiguration()\n``` \nReturns the options for the hashing algorithm.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|------------------------------------------------------------------------------------------------------|\n| **Returns** | Dictionary defining options such as derived key length, block size, parallelization and memory cost. |"]]