[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-03-24 UTC."],[],[],null,["# FirebaseAdmin.Auth.Hash.Scrypt Class Reference\n\nFirebaseAdmin.Auth.Hash.Scrypt\n==============================\n\nRepresents the [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\nThis is the [modified Scrypt algorithm](https://github.com/firebase/scrypt) used by Firebase [Auth](/docs/reference/admin/dotnet/namespace/firebase-admin/auth#namespace_firebase_admin_1_1_auth). See [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) for 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) algorithm. Can 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| [Scrypt](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1ae81e4a22c9e6ad9f3fd3e62eff59f2de)`()` Initializes a new instance of the [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) class. ||\n\n| ### Properties ||\n|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Key](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1af313d92d4fa014092b7961227ebc77e6) | `byte[]` Gets or sets the signer key for the hashing algorithm. |\n| [MaxRounds](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1ab92f2e4cfee521ff5a00fa727ed0f61a) | `override int` Gets the maximum number of rounds for a [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) hash, which is 8. |\n| [MemoryCost](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1a4b3fa76c995dd482ee39b0034e6cc961) | `int` Gets or sets the memory cost for the hashing algorithm. |\n| [MinRounds](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1a81b5bab66907464da4ad19dd55f385cd) | `override int` Gets the minimum number of rounds for a [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) hash, which is 0. |\n| [SaltSeparator](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1ac7c07e508c91ab62f59c2d060943b295) | `byte[]` Gets or sets the salt separator for the hashing algorithm. |\n\n| ### Protected functions ||\n|-------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [GetHashConfiguration](#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt_1a87fc68b6b5ce114d611ad2fec5548b75)`()` | `virtual override IReadOnlyDictionary\u003c string, object \u003e` Returns the options for the hashing algorithm. |\n\nProperties\n----------\n\n### Key\n\n```text\nbyte[] Key\n``` \nGets or sets the signer key for the hashing algorithm. \n\n### MaxRounds\n\n```text\noverride int MaxRounds\n``` \nGets the maximum number of rounds for a [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) hash, which is 8. \n\n### MemoryCost\n\n```text\nint MemoryCost\n``` \nGets or sets the memory cost for the hashing algorithm. \n\n### MinRounds\n\n```text\noverride int MinRounds\n``` \nGets the minimum number of rounds for a [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) hash, which is 0. \n\n### SaltSeparator\n\n```text\nbyte[] SaltSeparator\n``` \nGets or sets the salt separator for the hashing algorithm.\n\nPublic functions\n----------------\n\n### Scrypt\n\n```text\n Scrypt()\n``` \nInitializes a new instance of the [Scrypt](/docs/reference/admin/dotnet/class/firebase-admin/auth/hash/scrypt#class_firebase_admin_1_1_auth_1_1_hash_1_1_scrypt) class.\n\nDefines the name of the hash to be equal to 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 signer key. |"]]