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. |
int BlockSize
Gets or sets the block size for the hashing algorithm.
The size cannot be negative.
int DerivedKeyLength
Gets or sets the derived key length for the hashing algorithm.
The length cannot be negative.
int MemoryCost
Gets or sets memory cost for the hashing algorithm.
The memory cost cannot be negative.
int Parallelization
Gets or sets parallelization of the hashing algorithm.
The parallelization factor cannot be negative.
StandardScrypt()
Initializes a new instance of the StandardScrypt class.
Defines the name of the hash to be equal to STANDARD_SCRYPT.
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.