Skip navigation links
A B C D E F G H I L M P R S T U V W 

A

appendNullTerminator - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
Since OpenBSD bcrypt version $2a$ a null-terminator byte must be append to the hash.
at.favre.lib.crypto.bcrypt - package at.favre.lib.crypto.bcrypt
 

B

BCrypt - Class in at.favre.lib.crypto.bcrypt
The main access point the the Bcrypt APIs
BCrypt.HashData - Class in at.favre.lib.crypto.bcrypt
Holds the raw data of a bcrypt hash
BCrypt.Hasher - Class in at.favre.lib.crypto.bcrypt
Can create bcrypt hashes
BCrypt.Result - Class in at.favre.lib.crypto.bcrypt
Result of a bcrypt hash verification
BCrypt.Verifyer - Class in at.favre.lib.crypto.bcrypt
Can verify bcrypt hashes
BCrypt.Version - Class in at.favre.lib.crypto.bcrypt
The supported version identifiers for bcrypt according to the modular crypt format.
BCryptFormatter - Interface in at.favre.lib.crypto.bcrypt
Formats the out hash message of bcrypt.
BCryptFormatter.Default - Class in at.favre.lib.crypto.bcrypt
Default implantation following the Modular Crypt Format
BCryptParser - Interface in at.favre.lib.crypto.bcrypt
A simple parser which is able to parse Modular Crypt Format specifically for bcrypt.
BCryptParser.Default - Class in at.favre.lib.crypto.bcrypt
Default implementation

C

cost - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
The cost (log2 factor) used to create the hash
createHashMessage(BCrypt.HashData) - Method in interface at.favre.lib.crypto.bcrypt.BCryptFormatter
Create a message for the given raw hash data
createHashMessage(BCrypt.HashData) - Method in class at.favre.lib.crypto.bcrypt.BCryptFormatter.Default
 

D

decode(byte[]) - Method in interface at.favre.lib.crypto.bcrypt.Radix64Encoder
From a UTF-8 encoded string representing radix64 encoded data as byte array, decodes the raw bytes from it.
decode(byte[]) - Method in class at.favre.lib.crypto.bcrypt.Radix64Encoder.Default
 
Default(Radix64Encoder, Charset) - Constructor for class at.favre.lib.crypto.bcrypt.BCryptFormatter.Default
 
Default() - Constructor for class at.favre.lib.crypto.bcrypt.Radix64Encoder.Default
 
derive(byte[]) - Method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategy.BaseLongPasswordStrategy
 
derive(byte[]) - Method in interface at.favre.lib.crypto.bcrypt.LongPasswordStrategy
Derives (hashes, shortens, etc) the given password to a desired max length.
details - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Result
The parts of the modular crypt format (salt, raw hash, cost factor, version)

E

encode(byte[]) - Method in class at.favre.lib.crypto.bcrypt.Radix64Encoder.Default
 
encode(byte[]) - Method in interface at.favre.lib.crypto.bcrypt.Radix64Encoder
Encode given raw byte array to a Radix64 style, UTF-8 encoded byte array.
equals(Object) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
 
equals(Object) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Result
 
equals(Object) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Version
 

F

formatErrorMessage - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Result
Optional error message if BCrypt.Result.validFormat is false
formatter - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
The formatter for the bcrypt message digest

G

getMessage() - Method in exception at.favre.lib.crypto.bcrypt.IllegalBCryptFormatException
 

H

hash(int, char[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Hasher
Hashes given password with the OpenBSD bcrypt schema.
hash(int, byte[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Hasher
Hashes given password with the OpenBSD bcrypt schema.
hash(int, byte[], byte[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Hasher
Hashes given password with the OpenBSD bcrypt schema.
hashCode() - Method in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
 
hashCode() - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Result
 
hashCode() - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Version
 
HashData(int, BCrypt.Version, byte[], byte[]) - Constructor for class at.favre.lib.crypto.bcrypt.BCrypt.HashData
 
hashRaw(int, byte[], byte[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Hasher
Hashes given password with the OpenBSD bcrypt schema.
hashSha512() - Static method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategies
hashToChar(int, char[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Hasher
Hashes given password with the OpenBSD bcrypt schema.
hashToString(int, char[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Hasher
Hashes given password with the OpenBSD bcrypt schema.

I

IllegalBCryptFormatException - Exception in at.favre.lib.crypto.bcrypt
Exception thrown on parsing if an illegal format has been detected.
IllegalBCryptFormatException(String) - Constructor for exception at.favre.lib.crypto.bcrypt.IllegalBCryptFormatException
 
innerDerive(byte[]) - Method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategy.Sha512DerivationStrategy
 
innerDerive(byte[]) - Method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategy.StrictMaxPasswordLengthStrategy
 
innerDerive(byte[]) - Method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategy.TruncateStrategy
 

L

LongPasswordStrategies - Class in at.favre.lib.crypto.bcrypt
Factory for default LongPasswordStrategy implementatins
LongPasswordStrategy - Interface in at.favre.lib.crypto.bcrypt
Strategy if the password is longer than supported by Bcrypt itself (71 bytes + null terminator with $2a$)
LongPasswordStrategy.BaseLongPasswordStrategy - Class in at.favre.lib.crypto.bcrypt
Default base implementation
LongPasswordStrategy.Sha512DerivationStrategy - Class in at.favre.lib.crypto.bcrypt
Will use sha512 to hash given password to generate fixed 64 byte length hash value
LongPasswordStrategy.StrictMaxPasswordLengthStrategy - Class in at.favre.lib.crypto.bcrypt
This strategy will always throw an exception to force passwords under the max length
LongPasswordStrategy.TruncateStrategy - Class in at.favre.lib.crypto.bcrypt
Truncates the password the max possible length.

M

MAX_COST - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt
Maximum allowed cost factor
MAX_PW_LENGTH_BYTE - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt
The max length of the password in bytes excluding lats null-terminator byte
MIN_COST - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt
Minimum allowed cost factor

P

parse(byte[]) - Method in class at.favre.lib.crypto.bcrypt.BCryptParser.Default
 
parse(byte[]) - Method in interface at.favre.lib.crypto.bcrypt.BCryptParser
Read and parse given bcrypt hash
parser - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
The parser used to parse a bcrypt message

R

Radix64Encoder - Interface in at.favre.lib.crypto.bcrypt
Encoder for the custom Base64 variant of BCrypt (called Radix64 here).
Radix64Encoder.Default - Class in at.favre.lib.crypto.bcrypt
This class implements an encoder for encoding byte data using the Base64 encoding scheme as used in OpenBSD which is not compatible with the RFC Base64 schemas.
rawHash - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
The raw 23 bytes of hash (not the radix64 encoded version)
rawSalt - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
The raw 16 bytes of the salt (not the radix64 encoded version)

S

SALT_LENGTH - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt
Fixed lenght of the bcrypt salt
strict() - Static method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategies
SUPPORTED_VERSIONS - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
List of supported versions

T

toString() - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Result
 
toString() - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Version
 
truncate() - Static method in class at.favre.lib.crypto.bcrypt.LongPasswordStrategies

U

useOnly23bytesForHash - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
Due to a bug the OpenBSD implemenation only uses 23 bytes (184 bit) of the possible 24 byte output from blowfish.

V

validFormat - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Result
If the given format was valid.
verified - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Result
If the given password matches the hash
verify(byte[], byte[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given bcrypt hash, which includes salt and cost factor with given raw password.
verify(char[], char[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given bcrypt hash, which includes salt and cost factor with given raw password.
verify(char[], String) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given bcrypt hash, which includes salt and cost factor with given raw password.
verify(byte[], BCrypt.HashData) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given raw byte arrays of salt, 23 byte bcrypt hash and password.
verify(byte[], int, byte[], byte[]) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given raw byte arrays of salt, 23 byte bcrypt hash and password.
verifyer() - Static method in class at.favre.lib.crypto.bcrypt.BCrypt
Creates a new instance of bcrypt verifier to verify a password against a given hash
verifyStrict(byte[], byte[], BCrypt.Version) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given bcrypt hash, which includes salt and cost factor with given raw password requiring a specific version.
verifyStrict(char[], char[], BCrypt.Version) - Method in class at.favre.lib.crypto.bcrypt.BCrypt.Verifyer
Verify given bcrypt hash, which includes salt and cost factor with given raw password requiring a specific version.
version - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
The used version
Version(byte[], boolean, boolean, BCryptFormatter, BCryptParser) - Constructor for class at.favre.lib.crypto.bcrypt.BCrypt.Version
Create a new version.
VERSION_2A - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
$2a$
VERSION_2B - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
$2b$ (2014/02)
VERSION_2X - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
$2x$ (2011)
VERSION_2Y - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
$2y$ (2011)
VERSION_BC - Static variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
This mirrors how Bouncy Castle creates bcrypt hashes: with 24 byte out and without null-terminator.
versionIdentifier - Variable in class at.favre.lib.crypto.bcrypt.BCrypt.Version
Version identifier byte array, eg.{0x32, 0x61} for '2a'

W

wipe() - Method in class at.favre.lib.crypto.bcrypt.BCrypt.HashData
Internally wipe the salt and hash byte arrays
with(BCrypt.Version) - Static method in class at.favre.lib.crypto.bcrypt.BCrypt
Create a new instance of bcrypt hash with given BCrypt.Version.
with(SecureRandom) - Static method in class at.favre.lib.crypto.bcrypt.BCrypt
Create a new instance of bcrypt hash with default version VERSION_2A.
with(LongPasswordStrategy) - Static method in class at.favre.lib.crypto.bcrypt.BCrypt
Create a new instance of bcrypt hash with default version VERSION_2A.
with(BCrypt.Version, SecureRandom, LongPasswordStrategy) - Static method in class at.favre.lib.crypto.bcrypt.BCrypt
Create a new instance with custom version, secureRandom and long password strategy
withDefaults() - Static method in class at.favre.lib.crypto.bcrypt.BCrypt
Create a new instance of bcrypt hash with default version VERSION_2A.
A B C D E F G H I L M P R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.