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
Constructors and Destructors |
|
---|---|
StandardScrypt()
Initializes a new instance of the StandardScrypt class.
|
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.
|