BcryptSecurity class

This contains some recommended parameters for Bcrypt algorithm.

Constructors

BcryptSecurity(String name, {required int nb})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
nb int
The number of rounds in terms of power of 2.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

good → const BcryptSecurity
Provides good security.
little → const BcryptSecurity
Provides low security but faster. Suitable for low-end devices.
moderate → const BcryptSecurity
Provides moderate security. Suitable for modern mobile devices.
owasp → const BcryptSecurity
Provides strong security recommended by OWASP.
strong → const BcryptSecurity
Provides strong security.
test → const BcryptSecurity
Provides a very low security. Use it for test purposes.