Skip navigation links
A B C D E F G H I K M O P R U V W 

A

at.favre.lib.crypto.bkdf - package at.favre.lib.crypto.bkdf
 

B

BKDF - Class in at.favre.lib.crypto.bkdf
Main entry point of the BKDF API

C

COMPOUND_FORMAT_VERSION - Static variable in interface at.favre.lib.crypto.bkdf.PasswordHashUpgrader
The current version identifier for the compound hash data format (see CompoundHashData)
CompoundHashData - Class in at.favre.lib.crypto.bkdf
A data format encapsulating possible multiple hash configs which were applied to given hash.
CompoundHashData(List<CompoundHashData.Config>, byte[], byte[]) - Constructor for class at.favre.lib.crypto.bkdf.CompoundHashData
 
CompoundHashData.Config - Class in at.favre.lib.crypto.bkdf
 
Config(Version, byte) - Constructor for class at.favre.lib.crypto.bkdf.CompoundHashData.Config
 
configList - Variable in class at.favre.lib.crypto.bkdf.CompoundHashData
 
cost - Variable in class at.favre.lib.crypto.bkdf.CompoundHashData.Config
 
cost - Variable in class at.favre.lib.crypto.bkdf.HashData
 
createKdf(Version) - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a fully usable KDF backed by BCrypt to generate key material for e.g.
createKdf() - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a fully usable KDF backed by BCrypt to generate key material for e.g.
createPasswordHasher() - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a password hasher to use BKDF password hash scheme.
createPasswordHasher(Version) - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a password hasher to use BKDF password hash scheme with given config version.
createPasswordHasher(Version, SecureRandom) - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a password hasher to use BKDF password hash scheme with given config version.
createPasswordHashUpgrader() - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a password hasher upgrader, which can be used to upgrade the cost factor of existing password hashes.
createPasswordHashUpgrader(SecureRandom) - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a password hasher upgrader, which can be used to upgrade the cost factor of existing password hashes.
createPasswordHashVerifier() - Static method in class at.favre.lib.crypto.bkdf.BKDF
Create a new instance of password hash verifier.

D

Default(Version) - Constructor for class at.favre.lib.crypto.bkdf.KeyDerivationFunction.Default
 
Default(SecureRandom) - Constructor for class at.favre.lib.crypto.bkdf.PasswordHashUpgrader.Default
 
Default(PasswordHashUpgrader) - Constructor for class at.favre.lib.crypto.bkdf.PasswordHashVerifier.Default
 
Default(HKDF, int, byte) - Constructor for class at.favre.lib.crypto.bkdf.Version.Default
 
derive(byte[], char[], int, byte[], int) - Method in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.Default
 
derive(byte[], byte[], int, byte[], int) - Method in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.Default
 
derive(byte[], char[], int, byte[], int) - Method in interface at.favre.lib.crypto.bkdf.KeyDerivationFunction
Derive high entropy key material from given salt, user password.
derive(byte[], byte[], int, byte[], int) - Method in interface at.favre.lib.crypto.bkdf.KeyDerivationFunction
Derive high entropy key material from given salt, user password.
deriveMulti(byte[], byte[], int, List<KeyDerivationFunction.KdfConfig>) - Method in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.Default
 
deriveMulti(byte[], byte[], int, List<KeyDerivationFunction.KdfConfig>) - Method in interface at.favre.lib.crypto.bkdf.KeyDerivationFunction
Derive multiple high entropy key material from given salt, user password.

E

equals(Object) - Method in class at.favre.lib.crypto.bkdf.CompoundHashData.Config
 
equals(Object) - Method in class at.favre.lib.crypto.bkdf.CompoundHashData
 
equals(Object) - Method in class at.favre.lib.crypto.bkdf.HashData
 
equals(Object) - Method in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.KdfConfig
 
equals(Object) - Method in class at.favre.lib.crypto.bkdf.Version.Default
 

F

from(HashData) - Static method in class at.favre.lib.crypto.bkdf.CompoundHashData
Convert normal hash data to compound format

G

getAsBlobMessageFormat() - Method in class at.favre.lib.crypto.bkdf.CompoundHashData
Create the serialized message in raw byte array / blob format.
getAsBlobMessageFormat() - Method in class at.favre.lib.crypto.bkdf.HashData
Get the "BKDF Password Hash Message Format 1" which is in blob/byte array form
getAsEncodedMessageFormat() - Method in class at.favre.lib.crypto.bkdf.CompoundHashData
Similar to CompoundHashData.getAsBlobMessageFormat() but returns as Base64 url-encoded string
getAsEncodedMessageFormat() - Method in class at.favre.lib.crypto.bkdf.HashData
Get the "BKDF Password Hash Message Format 2" which is a base64-url encoded (rfc4648 "Base 64 Encoding with URL and Filename Safe Alphabet") message containing all information needed to verify a password, including cost factor, version and salt.
getByCode(byte) - Static method in class at.favre.lib.crypto.bkdf.Version.Util
Get the version model for given code.
getHashByteLength() - Method in class at.favre.lib.crypto.bkdf.Version.Default
 
getHashByteLength() - Method in interface at.favre.lib.crypto.bkdf.Version
Gets the used bcrypt hash byte length.
getHashVersion() - Method in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.Default
 
getHashVersion() - Method in interface at.favre.lib.crypto.bkdf.KeyDerivationFunction
Get the in this instance used hash version.
getHashVersion() - Method in class at.favre.lib.crypto.bkdf.PasswordHasher.Default
 
getHashVersion() - Method in interface at.favre.lib.crypto.bkdf.PasswordHasher
Get the in this instance used hash version.
getHkdf() - Method in class at.favre.lib.crypto.bkdf.Version.Default
 
getHkdf() - Method in interface at.favre.lib.crypto.bkdf.Version
What HKDF version to use (ie.
getMessage() - Method in exception at.favre.lib.crypto.bkdf.Version.UnsupportedBkdfVersionException
 
getVersionCode() - Method in class at.favre.lib.crypto.bkdf.Version.Default
 
getVersionCode() - Method in interface at.favre.lib.crypto.bkdf.Version
The version code used to identify the configuration

H

hash(char[], int) - Method in class at.favre.lib.crypto.bkdf.PasswordHasher.Default
 
hash(char[], int) - Method in interface at.favre.lib.crypto.bkdf.PasswordHasher
For given password and cost-factor create password hash.
hashCode() - Method in class at.favre.lib.crypto.bkdf.CompoundHashData.Config
 
hashCode() - Method in class at.favre.lib.crypto.bkdf.CompoundHashData
 
hashCode() - Method in class at.favre.lib.crypto.bkdf.HashData
 
hashCode() - Method in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.KdfConfig
 
hashCode() - Method in class at.favre.lib.crypto.bkdf.Version.Default
 
HashData - Class in at.favre.lib.crypto.bkdf
Model containing all the parts required for the "BKDF Password Hash Message Format"
HashData(byte, Version, byte[], byte[]) - Constructor for class at.favre.lib.crypto.bkdf.HashData
Create new instance
hashRaw(char[], int) - Method in class at.favre.lib.crypto.bkdf.PasswordHasher.Default
 
hashRaw(char[], int) - Method in interface at.favre.lib.crypto.bkdf.PasswordHasher
For given password and cost-factor create password hash.
HKDF_HMAC512 - Static variable in interface at.favre.lib.crypto.bkdf.Version
Using HKDF-HMAC-SHA512 and 23 byte bcrypt output
HKDF_HMAC512_BCRYPT_24_BYTE - Static variable in interface at.favre.lib.crypto.bkdf.Version
Using HKDF-HMAC-SHA512 and 24 byte bcrypt output

I

infoParam - Variable in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.KdfConfig
 
isCompoundHashMessage(String) - Method in class at.favre.lib.crypto.bkdf.PasswordHashUpgrader.Default
 
isCompoundHashMessage(String) - Method in interface at.favre.lib.crypto.bkdf.PasswordHashUpgrader
Efficently checks a base64 string if it is in compound hash data format.

K

KdfConfig(byte[], int) - Constructor for class at.favre.lib.crypto.bkdf.KeyDerivationFunction.KdfConfig
Create new instance.
KeyDerivationFunction - Interface in at.favre.lib.crypto.bkdf
Key Derivation protocol of BKDF.
KeyDerivationFunction.Default - Class in at.favre.lib.crypto.bkdf
Default implementation
KeyDerivationFunction.KdfConfig - Class in at.favre.lib.crypto.bkdf
Wraps some of the needed configs for use in KDF

M

MAX_BCRYPT_HASH_LENGTH_BYTE - Static variable in interface at.favre.lib.crypto.bkdf.Version
 
MIN_BCRYPT_HASH_LENGTH_BYTE - Static variable in interface at.favre.lib.crypto.bkdf.Version
 

O

outLengthByte - Variable in class at.favre.lib.crypto.bkdf.KeyDerivationFunction.KdfConfig
 

P

parse(String) - Static method in class at.favre.lib.crypto.bkdf.CompoundHashData
Parse given base64 hash message in compound format and returns this data model.
parse(byte[]) - Static method in class at.favre.lib.crypto.bkdf.CompoundHashData
Parse given raw blob hash message in compound format and returns this data model.
parse(byte[]) - Static method in class at.favre.lib.crypto.bkdf.HashData
Parse BKDF Password Hash Message Formt 1
parse(String) - Static method in class at.favre.lib.crypto.bkdf.HashData
Parse BKDF Password Hash Message Formt 2
PasswordHasher - Interface in at.favre.lib.crypto.bkdf
Implementation for the BKDF Password Hash protocol used for key stretching of weak user passwords and hash storage.
PasswordHasher.Default - Class in at.favre.lib.crypto.bkdf
Default implementation
PasswordHashUpgrader - Interface in at.favre.lib.crypto.bkdf
Component responsible for upgrading the strength of BKDF password hashes.
PasswordHashUpgrader.Default - Class in at.favre.lib.crypto.bkdf
Default implementation
PasswordHashVerifier - Interface in at.favre.lib.crypto.bkdf
Class which can verify BKDF hash message format password hashes
PasswordHashVerifier.Default - Class in at.favre.lib.crypto.bkdf
Default implementation

R

rawHash - Variable in class at.favre.lib.crypto.bkdf.CompoundHashData
 
rawHash - Variable in class at.favre.lib.crypto.bkdf.HashData
 
rawSalt - Variable in class at.favre.lib.crypto.bkdf.CompoundHashData
 
rawSalt - Variable in class at.favre.lib.crypto.bkdf.HashData
 

U

UnsupportedBkdfVersionException(int) - Constructor for exception at.favre.lib.crypto.bkdf.Version.UnsupportedBkdfVersionException
Create new instance
upgradePasswordHashTo(int, String) - Method in class at.favre.lib.crypto.bkdf.PasswordHashUpgrader.Default
 
upgradePasswordHashTo(int, String) - Method in interface at.favre.lib.crypto.bkdf.PasswordHashUpgrader
Upgrades the given hash to the given new cost factor.
upgradePasswordHashWith(Version, int, String) - Method in class at.favre.lib.crypto.bkdf.PasswordHashUpgrader.Default
 
upgradePasswordHashWith(Version, int, String) - Method in interface at.favre.lib.crypto.bkdf.PasswordHashUpgrader
Upgrades the given hash with the given new hash config (ie.

V

verify(char[], String) - Method in class at.favre.lib.crypto.bkdf.PasswordHashVerifier.Default
 
verify(char[], HashData) - Method in class at.favre.lib.crypto.bkdf.PasswordHashVerifier.Default
 
verify(char[], String) - Method in interface at.favre.lib.crypto.bkdf.PasswordHashVerifier
Verify a given type 2 format message (encoded as base64) and given user password
verify(char[], HashData) - Method in interface at.favre.lib.crypto.bkdf.PasswordHashVerifier
Verify a given password hash and given user password
verifyCompoundHash(char[], String) - Method in class at.favre.lib.crypto.bkdf.PasswordHashUpgrader.Default
 
verifyCompoundHash(char[], String) - Method in interface at.favre.lib.crypto.bkdf.PasswordHashUpgrader
Verify a hash in compound format.
version - Variable in class at.favre.lib.crypto.bkdf.CompoundHashData.Config
 
version - Variable in class at.favre.lib.crypto.bkdf.HashData
 
Version - Interface in at.favre.lib.crypto.bkdf
Encapsulates the information which defines a BKDF version, including code, HKDF version and bcrypt mode
Version.Default - Class in at.favre.lib.crypto.bkdf
 
Version.UnsupportedBkdfVersionException - Exception in at.favre.lib.crypto.bkdf
Thrown if a version code is provided which is not recognized or supported
Version.Util - Class in at.favre.lib.crypto.bkdf
Wrapper class for static util methods
VERSIONS - Static variable in interface at.favre.lib.crypto.bkdf.Version
List of supported Version

W

wipe() - Method in class at.favre.lib.crypto.bkdf.CompoundHashData
Wipes salt and hash internally.
wipe() - Method in class at.favre.lib.crypto.bkdf.HashData
Wipe the internal byte arrays for security purposes.
A B C D E F G H I K M O P R U V W 
Skip navigation links

Copyright © 2018. All rights reserved.