BcryptVersion enum

The Bcrypt algorithm version

Inheritance
Available extensions

Values

$2a → const BcryptVersion

This is a revised version of original v2 with UTF-8 character support and inclusion of the null terminator with the password.

$2b → const BcryptVersion

This is the bug-fixed version of OpenBSD implementation of bcrypt, which fixes the support for password longer than 255 characters.

$2x → const BcryptVersion

This was introduced by PHP crypt_blowfish implementation to mark hashes generated with a bug in their implementation.

$2y → const BcryptVersion

This was introduced by PHP crypt_blowfish implementation to mark hashes generated after fixing the bug in their implementation.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

values → const List<BcryptVersion>
A constant List of the values in this enum, in order of their declaration.