Skip navigation links
A B C D E G H M N O P T U V 

A

Algorithm - Enum in org.sterl.hash
 

B

BCrypt - Class in org.sterl.hash.bcrypt
BCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres.
BCrypt() - Constructor for class org.sterl.hash.bcrypt.BCrypt
 
BCryptPasswordEncoder - Class in org.sterl.hash.bcrypt
Implementation of PasswordEncoder that uses the BCrypt strong hashing function.
BCryptPasswordEncoder() - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder(int) - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion) - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion, SecureRandom) - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder(int, SecureRandom) - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion, int) - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion, int, SecureRandom) - Constructor for class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
BCryptPasswordEncoder.BCryptVersion - Enum in org.sterl.hash.bcrypt
Stores the default bcrypt version for use in configuration.
BCryptPbkdf2PasswordHash - Class in org.sterl.hash
Main class which should be used to hash and to match the passwords.
BCryptPbkdf2PasswordHash() - Constructor for class org.sterl.hash.BCryptPbkdf2PasswordHash
Creates a new instance using Algorithm.BCrypt to hash passwords.
BCryptPbkdf2PasswordHash(Algorithm) - Constructor for class org.sterl.hash.BCryptPbkdf2PasswordHash
Creates a new BCryptPbkdf2PasswordHash using the Algorithm in the default config.
BCryptPbkdf2PasswordHash(PasswordHasher, PBKDF2WithHmacSHA, BCryptPasswordEncoder) - Constructor for class org.sterl.hash.BCryptPbkdf2PasswordHash
Consider using the static factory methods.

C

checkpw(String, String) - Static method in class org.sterl.hash.bcrypt.BCrypt
Check that a plaintext password matches a previously hashed one
checkpw(byte[], String) - Static method in class org.sterl.hash.bcrypt.BCrypt
Check that a password (as a byte array) matches a previously hashed one

D

DEFAULT_BCRYPT_STRENGTH - Static variable in class org.sterl.hash.BCryptPbkdf2PasswordHash
the log rounds to use, between 4 and 31, default is 10
DEFAULT_VERSION - Static variable in class org.sterl.hash.BCryptPbkdf2PasswordHash
 

E

encode(CharSequence) - Method in class org.sterl.hash.bcrypt.BCryptPasswordEncoder
Encode the raw password.
encode(CharSequence) - Method in class org.sterl.hash.BCryptPbkdf2PasswordHash
Encodes the password using the Algorithm of the constructor.
encode(CharSequence) - Method in interface org.sterl.hash.PasswordHasher
Encode the raw password using a hash algorithm and salt.
encode(CharSequence) - Method in class org.sterl.hash.sha.PBKDF2WithHmacSHA
Encode the raw password using a hash algorithm and salt.
encode(char[]) - Method in class org.sterl.hash.sha.PBKDF2WithHmacSHA
Hashes the given password using PBKDF2.

G

gensalt(String, int, SecureRandom) - Static method in class org.sterl.hash.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt(String, int) - Static method in class org.sterl.hash.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt(int, SecureRandom) - Static method in class org.sterl.hash.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt(int) - Static method in class org.sterl.hash.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt(String) - Static method in class org.sterl.hash.bcrypt.BCrypt
 
gensalt() - Static method in class org.sterl.hash.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method, selecting a reasonable default for the number of hashing rounds to apply

H

hashpw(String, String) - Static method in class org.sterl.hash.bcrypt.BCrypt
Hash a password using the OpenBSD bcrypt scheme
hashpw(byte[], String) - Static method in class org.sterl.hash.bcrypt.BCrypt
Hash a password using the OpenBSD bcrypt scheme

M

matches(CharSequence, String) - Method in class org.sterl.hash.bcrypt.BCryptPasswordEncoder
Verify the encoded password obtained from storage matches the submitted raw password after it too is encoded.
matches(CharSequence, String) - Method in class org.sterl.hash.BCryptPbkdf2PasswordHash
Decodes the password based of the prefixed algorithm, using either PBKDF2xx or BCrypt.
matches(CharSequence, String) - Method in interface org.sterl.hash.PasswordHasher
Verify the encoded password the raw password after.
matches(CharSequence, String) - Method in class org.sterl.hash.sha.PBKDF2WithHmacSHA
Verify the encoded password the raw password after.
matches(char[], String) - Method in class org.sterl.hash.sha.PBKDF2WithHmacSHA
Check the given password against the given hash.

N

newBCryptPasswordEncoder(int, BCryptPasswordEncoder.BCryptVersion, SecureRandom) - Static method in class org.sterl.hash.BCryptPbkdf2PasswordHash
Creates a new instance of BCryptPbkdf2PasswordHash using BCrypt to hash new passwords.
newPBKDF2Encoder(int, int, int, Algorithm, SecureRandom) - Static method in class org.sterl.hash.BCryptPbkdf2PasswordHash
Creates a new instance of BCryptPbkdf2PasswordHash using PBKDF2WithHmacSHA to hash new passwords.

O

org.sterl.hash - package org.sterl.hash
 
org.sterl.hash.bcrypt - package org.sterl.hash.bcrypt
 
org.sterl.hash.sha - package org.sterl.hash.sha
 

P

PasswordHasher - Interface in org.sterl.hash
The PasswordHasher should encode the password in the following way: <algorithm>:<the hashed password including the salt> The algorithm is used to identify the implementation of the PasswordHasher.
PBKDF2WithHmacSHA - Class in org.sterl.hash.sha
Re-implementation of the Soteria Pbkdf2PasswordHashImpl to share it with other frameworks.
PBKDF2WithHmacSHA(String, int, int, int, SecureRandom) - Constructor for class org.sterl.hash.sha.PBKDF2WithHmacSHA
Creates a new instance of PBKDF2WithHmacSHA it also adjust the constructor parameters if the min values aren't honored.
PBKDF2WithHmacSHA() - Constructor for class org.sterl.hash.sha.PBKDF2WithHmacSHA
Creates a new instance using PBKDF2WithHmacSHA512.
PBKDF2WithHmacSHA(String) - Constructor for class org.sterl.hash.sha.PBKDF2WithHmacSHA
Creates a new instance wit the given algorithm and 2048 iterations and 32 for salt and 64 key size.

T

toString() - Method in class org.sterl.hash.bcrypt.BCryptPasswordEncoder
 
toString() - Method in class org.sterl.hash.BCryptPbkdf2PasswordHash
 
toString() - Method in class org.sterl.hash.sha.PBKDF2WithHmacSHA
 

U

upgradeEncoding(String) - Method in class org.sterl.hash.bcrypt.BCryptPasswordEncoder
Returns true if the encoded password should be encoded again for better security, else false.

V

valueOf(String) - Static method in enum org.sterl.hash.Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.sterl.hash.bcrypt.BCryptPasswordEncoder.BCryptVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sterl.hash.Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.sterl.hash.bcrypt.BCryptPasswordEncoder.BCryptVersion
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H M N O P T U V 
Skip navigation links

Copyright © 2020. All rights reserved.