UserImportHashOptions class

Constructors

UserImportHashOptions({required HashAlgorithmType algorithm, required Uint8List? key, required Uint8List? saltSeparator, required int? rounds, required int? memoryCost, required int? parallelization, required int? blockSize, required int? derivedKeyLength})

Properties

algorithm HashAlgorithmType
The password hashing algorithm identifier. The following algorithm identifiers are supported: SCRYPT, STANDARD_SCRYPT, HMAC_SHA512, HMAC_SHA256, HMAC_SHA1, HMAC_MD5, MD5, PBKDF_SHA1, BCRYPT, PBKDF2_SHA256, SHA512, SHA256 and SHA1.
final
blockSize int?
The block size (normally 8) of the hashing algorithm. Required for the STANDARD_SCRYPT algorithm.
final
derivedKeyLength int?
The derived key length of the hashing algorithm. Required for the STANDARD_SCRYPT algorithm.
final
hashCode int
The hash code for this object.
no setterinherited
key Uint8List?
The signing key used in the hash algorithm in buffer bytes. Required by hashing algorithms SCRYPT, HMAC_SHA512, HMAC_SHA256, HAMC_SHA1 and HMAC_MD5.
final
memoryCost int?
The memory cost required for SCRYPT algorithm, or the CPU/memory cost. Required for STANDARD_SCRYPT algorithm.
final
parallelization int?
The parallelization of the hashing algorithm. Required for the STANDARD_SCRYPT algorithm.
final
rounds int?
The number of rounds for hashing calculation. Required for SCRYPT, MD5, SHA512, SHA256, SHA1, PBKDF_SHA1 and PBKDF2_SHA256.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saltSeparator Uint8List?
The salt separator in buffer bytes which is appended to salt when verifying a password. This is only used by the SCRYPT algorithm.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited