Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCryptHash - Class in org.apache.shiro.crypto.hash
-
Abstract class for hashes following the posix crypt(3) format.
- AbstractCryptHash(String, byte[], ByteSource) - Constructor for class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Constructs an
AbstractCryptHashusing the algorithm name, hashed data and salt parameters. - AbstractHash - Class in org.apache.shiro.crypto.hash
-
Deprecated.
- AbstractHash() - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates an new instance without any of its properties set (no hashing is performed).
- AbstractHash(Object) - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates a hash of the specified
sourcewith nosaltusing a single hash iteration. - AbstractHash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates a hash of the specified
sourceusing the givensaltusing a single hash iteration. - AbstractHash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Creates a hash of the specified
sourceusing the givensalta total ofhashIterationstimes. - addParameter(String, Object) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha256Hash
-
Sha256 algorithm name.
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha384Hash
-
Sha384 algorithm name.
- ALGORITHM_NAME - Static variable in class org.apache.shiro.crypto.hash.Sha512Hash
-
Sha512 algorithm name.
- assertHashFormatImpl(Class) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
B
- BASE64 - Enum constant in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Deprecated.
- Base64Format - Class in org.apache.shiro.crypto.hash.format
-
Deprecated.will throw exceptions in 2.1.0, to be removed in 2.2.0
- Base64Format() - Constructor for class org.apache.shiro.crypto.hash.format.Base64Format
-
Deprecated.
- build() - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Builds a
HashRequestinstance reflecting the specified configuration. - Builder() - Constructor for class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Default no-arg constructor.
- byId(String) - Static method in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
C
- checkValid() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
- checkValidAlgorithm() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Algorithm-specific checks of the algorithm’s parameters.
- checkValidSalt() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Default check method for a valid salt.
- computeHash(HashRequest) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
-
Computes and responds with a hash based on the specified request.
- computeHash(HashRequest) - Method in interface org.apache.shiro.crypto.hash.HashService
-
Computes a hash based on the given request.
- ConfigurableHashService - Interface in org.apache.shiro.crypto.hash
-
A
HashServicethat allows configuration of its strategy via JavaBeans-compatible setter methods. - convertSaltToBytes(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Acquires the specified
saltargument's bytes and returns them in the form of aByteSourceinstance. - convertSourceToBytes(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Acquires the specified
sourceargument's bytes and returns them in the form of aByteSourceinstance.
D
- DefaultHashFormatFactory - Class in org.apache.shiro.crypto.hash.format
-
This default
HashFormatFactoryimplementation heuristically determines aHashFormatclass to instantiate based on the input argument and returns a new instance of the discovered class. - DefaultHashFormatFactory() - Constructor for class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
- DefaultHashService - Class in org.apache.shiro.crypto.hash
-
Default implementation of the
HashServiceinterface, supporting a customizable hash algorithm name. - DefaultHashService() - Constructor for class org.apache.shiro.crypto.hash.DefaultHashService
-
Constructs a new
DefaultHashServiceinstance with the following defaults:hashAlgorithmName=SHA-512 - Defaults - Search tag in org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory.getFormatClassNames()
- Section
- DELIMITER - Static variable in class org.apache.shiro.crypto.hash.AbstractCryptHash
E
- Efficiency - Search tag in org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory.getFormatClassNames()
- Section
- Efficiency - Search tag in org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory.getSearchPackages()
- Section
- Efficiency - Search tag in org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory.setFormatClassNames(Map<String, String>)
- Section
- Efficiency - Search tag in org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory.setSearchPackages(Set<String>)
- Section
- equals(Object) - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Returns
trueif the specified object is an AbstractCryptHash and itsAbstractCryptHash.formatToCryptString()formatted output} is identical to this AbstractCryptHash's formatted output,falseotherwise. - equals(Object) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Returns
trueif the specified object is a Hash and itsbyte arrayis identical to this Hash's byte array,falseotherwise. - equals(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns
trueif the specified object is a Hash and itsbyte arrayis identical to this Hash's byte array,falseotherwise.
F
- format(Hash) - Method in class org.apache.shiro.crypto.hash.format.Base64Format
-
Deprecated.Returns
hash.toBase64(). - format(Hash) - Method in interface org.apache.shiro.crypto.hash.format.HashFormat
-
Returns a formatted string representing the specified Hash instance.
- format(Hash) - Method in class org.apache.shiro.crypto.hash.format.HexFormat
-
Deprecated.Returns
hash.toHex(). - format(Hash) - Method in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- format(Hash) - Method in class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
-
Converts a Hash-extending class to a string understood by the hash class.
- Format - Search tag in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- Section
- Format - Search tag in class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
- Section
- formatToCryptString() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
This method MUST return a single-lined string which would also be recognizable by a posix
/etc/passwdfile. - fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha256Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha384Hash
- fromBase64String(String) - Static method in class org.apache.shiro.crypto.hash.Sha512Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha256Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha384Hash
- fromHexString(String) - Static method in class org.apache.shiro.crypto.hash.Sha512Hash
- fromString(String) - Method in interface org.apache.shiro.crypto.hash.HashSpi
-
Creates a Hash instance from the given format string recognized by this provider.
- fromString(String) - Method in class org.apache.shiro.crypto.hash.SimpleHashProvider
G
- generate(HashRequest) - Method in interface org.apache.shiro.crypto.hash.HashSpi.HashFactory
-
Generates a hash from the given hash request.
- getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Implemented by subclasses, this specifies the KDF algorithm name to use when performing the hash.
- getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Implemented by subclasses, this specifies the
MessageDigestalgorithm name to use when performing the hash. - getAlgorithmName() - Method in interface org.apache.shiro.crypto.hash.Hash
-
Returns the name of the algorithm used to hash the input source, for example,
SHA-256,MD5, etc. - getAlgorithmName() - Method in interface org.apache.shiro.crypto.hash.HashRequest
-
Returns the name of the hash algorithm the
HashServiceshould use when computing theHash, ornullif the default algorithm configuration of theHashServiceshould be used. - getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns the
MessageDigestalgorithm name to use when performing the hash. - getAlgorithmName() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getAlgorithmName(HashRequest) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getByAlgorithmName(String) - Static method in class org.apache.shiro.crypto.hash.HashProvider
-
Find a KDF implementation by searching the algorithms.
- getBytes() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Returns only the hashed data.
- getBytes() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.
- getBytes() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- getDefaultAlgorithmName() - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- getDefaultAlgorithmName() - Method in interface org.apache.shiro.crypto.hash.HashService
- getDigest(String) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Returns the JDK MessageDigest instance to use for executing the hash.
- getDigest(String) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns the JDK MessageDigest instance to use for executing the hash.
- getFormatClassNames() - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Returns a
hashFormatAlias-to-fullyQualifiedHashFormatClassNameImplementationmap. - getHashFormatClass(String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Heuristically determine the fully qualified HashFormat implementation class name based on the specified token.
- getHashFormatClass(String, String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Heuristically determine the fully qualified
HashFormatimplementation class name in the specified package based on the provided token. - getId() - Method in interface org.apache.shiro.crypto.hash.format.ModularCryptFormat
-
Returns the Modular Crypt Format identifier that indicates how the formatted String should be parsed.
- getId() - Method in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- getId() - Method in class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
- getImplementedAlgorithms() - Method in interface org.apache.shiro.crypto.hash.HashSpi
-
A list of algorithms recognized by this implementation.
- getImplementedAlgorithms() - Method in class org.apache.shiro.crypto.hash.SimpleHashProvider
- getInstance(String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
- getInstance(String) - Method in interface org.apache.shiro.crypto.hash.format.HashFormatFactory
- getIterations() - Method in interface org.apache.shiro.crypto.hash.Hash
-
Returns the number of hash iterations used to compute the hash.
- getIterations() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- getParameters() - Method in interface org.apache.shiro.crypto.hash.HashRequest
-
Returns various parameters for the requested hash.
- getParameters() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getSalt() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
- getSalt() - Method in interface org.apache.shiro.crypto.hash.Hash
-
Returns a salt used to compute the hash or
nullif no salt was used. - getSalt() - Method in interface org.apache.shiro.crypto.hash.HashRequest
-
Returns a salt to be used by the
HashServiceduring hash computation, ornullif no salt is provided as part of the request. - getSalt() - Method in class org.apache.shiro.crypto.hash.SimpleHash
- getSalt() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
- getSaltLength() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
The length in number of bytes of the salt which is needed for this algorithm.
- getSearchPackages() - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Returns a set of package names that can be searched for
HashFormatimplementations according to heuristics defined in thegetHashFormat(packageName, token)JavaDoc. - getSource() - Method in interface org.apache.shiro.crypto.hash.HashRequest
-
Returns the source data that will be hashed by a
HashService. - getSource() - Method in class org.apache.shiro.crypto.hash.SimpleHashRequest
H
- hash(byte[]) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Hashes the specified byte array without a salt for a single iteration.
- hash(byte[]) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Hashes the specified byte array without a salt for a single iteration.
- hash(byte[], byte[]) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Hashes the specified byte array using the given
saltfor a single iteration. - hash(byte[], byte[]) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Hashes the specified byte array using the given
saltfor a single iteration. - hash(byte[], byte[], int) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Hashes the specified byte array using the given
saltfor the specified number of iterations. - hash(byte[], byte[], int) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Hashes the specified byte array using the given
saltfor the specified number of iterations. - Hash - Interface in org.apache.shiro.crypto.hash
-
A Cryptographic
Hashrepresents a one-way conversion algorithm that transforms an input source to an underlying byte array. - Hash Algorithm - Search tag in class org.apache.shiro.crypto.hash.DefaultHashService
- Section
- hashCode() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Hashes the formatted crypt string.
- hashCode() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Simply returns toHex().hashCode();
- hashCode() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Simply returns toHex().hashCode();
- HashFormat - Interface in org.apache.shiro.crypto.hash.format
-
A
HashFormatis able to format aHashinstance into a well-defined formatted String. - HashFormatFactory - Interface in org.apache.shiro.crypto.hash.format
- HashProvider - Class in org.apache.shiro.crypto.hash
-
Hashes used by the Shiro2CryptFormat class.
- HashRequest - Interface in org.apache.shiro.crypto.hash
-
A
HashRequestis composed of data that will be used by aHashServiceto compute a hash (aka 'digest'). - HashRequest.Builder - Class in org.apache.shiro.crypto.hash
-
A Builder class representing the Builder design pattern for constructing
HashRequestinstances. - HashService - Interface in org.apache.shiro.crypto.hash
-
A
HashServicehashes input sources utilizing a particular hashing strategy. - HashSpi - Interface in org.apache.shiro.crypto.hash
-
Service Provider Interface for password hashing algorithms.
- HashSpi.HashFactory - Interface in org.apache.shiro.crypto.hash
- HEX - Enum constant in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Deprecated.
- HexFormat - Class in org.apache.shiro.crypto.hash.format
-
Deprecated.will throw exceptions in 2.1.0, to be removed in 2.2.0
- HexFormat() - Constructor for class org.apache.shiro.crypto.hash.format.HexFormat
-
Deprecated.
I
- ID - Static variable in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
-
shiro1 crypt id.
- ID - Static variable in class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
-
Identifier for the shiro2 crypt format.
- isEmpty() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
- isEmpty() - Method in class org.apache.shiro.crypto.hash.SimpleHash
L
- lookupHashFormatClass(String) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
M
- matchesPassword(ByteSource) - Method in interface org.apache.shiro.crypto.hash.Hash
-
Tests if a given passwords matches with this instance.
- matchesPassword(ByteSource) - Method in class org.apache.shiro.crypto.hash.SimpleHash
- MCF_PREFIX - Static variable in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
-
shiro1 crypt format prefix
- MCF_PREFIX - Static variable in class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
-
Enclosed identifier of the shiro2 crypt format.
- ModularCryptFormat - Interface in org.apache.shiro.crypto.hash.format
-
A
HashFormatthat supports Modular Crypt Format token rules.
N
- newHashFactory(Random) - Method in interface org.apache.shiro.crypto.hash.HashSpi
-
A factory class for the hash of the type
<T>. - newHashFactory(Random) - Method in class org.apache.shiro.crypto.hash.SimpleHashProvider
- newHashFormatInstance(Class) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
O
- org.apache.shiro.crypto.hash - package org.apache.shiro.crypto.hash
-
Cryptographic Hashing components that greatly simplify one-way data hashing in an application.
- org.apache.shiro.crypto.hash.format - package org.apache.shiro.crypto.hash.format
-
Cryptographic Hashing components that greatly simplify one-way data hashing in an application.
P
- ParsableHashFormat - Interface in org.apache.shiro.crypto.hash.format
-
A
ParsableHashFormatis able to parse a formatted string and convert it into aHashinstance. - parse(String) - Method in interface org.apache.shiro.crypto.hash.format.ParsableHashFormat
-
Parses the specified formatted string and returns the corresponding Hash instance.
- parse(String) - Method in class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- parse(String) - Method in class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
- ProvidedHashFormat - Enum in org.apache.shiro.crypto.hash.format
-
An enum representing Shiro's default provided
HashFormatimplementations.
S
- Salt Notice - Search tag in org.apache.shiro.crypto.hash.HashService.computeHash(HashRequest)
- Section
- setAlgorithmName(String) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the name of the hash algorithm the
HashServiceshould use when computing theHash. - setBytes(byte[]) - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Sets the raw bytes stored by this hash instance.
- setBytes(byte[]) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Sets the raw bytes stored by this hash instance.
- setDefaultAlgorithmName(String) - Method in interface org.apache.shiro.crypto.hash.ConfigurableHashService
-
Sets the name of the key derivation function algorithm that will be used to compute secure hashes for passwords.
- setDefaultAlgorithmName(String) - Method in class org.apache.shiro.crypto.hash.DefaultHashService
- setFormatClassNames(Map<String, String>) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Sets the
hash-format-alias-to-fullyQualifiedHashFormatClassNameImplementationmap to be used in theDefaultHashFormatFactory.getInstance(String)implementation. - setIterations(int) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Sets the iterations used to previously compute AN ALREADY GENERATED HASH.
- setSalt(Object) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets a salt to be used by the
HashServiceduring hash computation. - setSalt(ByteSource) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets a salt to be used by the
HashServiceduring hash computation. - setSalt(ByteSource) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Sets the salt used to previously compute AN ALREADY GENERATED HASH.
- setSearchPackages(Set<String>) - Method in class org.apache.shiro.crypto.hash.format.DefaultHashFormatFactory
-
Sets a set of package names that can be searched for
HashFormatimplementations according to heuristics defined in thegetHashFormat(packageName, token)JavaDoc. - setSource(Object) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the source data that will be hashed by a
HashService. - setSource(ByteSource) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
-
Sets the source data that will be hashed by a
HashService. - Sha256Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-256 Hash from a given input source with an optional salt and hash iterations.
- Sha256Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
- Sha256Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
- Sha256Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
- Sha256Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha256Hash
- Sha384Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-384 Hash from a given input source with an optional salt and hash iterations.
- Sha384Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
- Sha384Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
- Sha384Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
- Sha384Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha384Hash
- Sha512Hash - Class in org.apache.shiro.crypto.hash
-
Generates an SHA-512 Hash from a given input source with an optional salt and hash iterations.
- Sha512Hash() - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
- Sha512Hash(Object) - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
- Sha512Hash(Object, Object) - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
- Sha512Hash(Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.Sha512Hash
- SHIRO1 - Enum constant in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Value representing the
Shiro1CryptFormatimplementation. - Shiro1CryptFormat - Class in org.apache.shiro.crypto.hash.format
-
The
Shiro1CryptFormatis a fully reversible Modular Crypt Format (MCF). - Shiro1CryptFormat() - Constructor for class org.apache.shiro.crypto.hash.format.Shiro1CryptFormat
- SHIRO2 - Enum constant in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Value representing the
Shiro2CryptFormatimplementation. - Shiro2CryptFormat - Class in org.apache.shiro.crypto.hash.format
-
The
Shiro2CryptFormatis a fully reversible Modular Crypt Format (MCF). - Shiro2CryptFormat() - Constructor for class org.apache.shiro.crypto.hash.format.Shiro2CryptFormat
- SimpleHash - Class in org.apache.shiro.crypto.hash
-
A
Hashimplementation that allows anyMessageDigestalgorithm name to be used. - SimpleHash(String) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an new instance with only its
algorithmNameset - no hashing is performed. - SimpleHash(String, Object) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an
algorithmName-specific hash of the specifiedsourcewith nosaltusing a single hash iteration. - SimpleHash(String, Object, int) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an
algorithmName-specific hash of the specifiedsourceusing the givensaltusing a single hash iteration. - SimpleHash(String, Object, Object) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an
algorithmName-specific hash of the specifiedsourceusing the givensaltusing a single hash iteration. - SimpleHash(String, Object, Object, int) - Constructor for class org.apache.shiro.crypto.hash.SimpleHash
-
Creates an
algorithmName-specific hash of the specifiedsourceusing the givensalta total ofhashIterationstimes. - SimpleHashProvider - Class in org.apache.shiro.crypto.hash
-
Creates a hash provider for salt (+pepper) and Hash-based KDFs, i.e. where the algorithm name is a SHA algorithm or similar.
- SimpleHashProvider() - Constructor for class org.apache.shiro.crypto.hash.SimpleHashProvider
- SimpleHashRequest - Class in org.apache.shiro.crypto.hash
-
Simple implementation of
HashRequestthat can be used when interacting with aHashService. - SimpleHashRequest(String, ByteSource, ByteSource, Map<String, Object>) - Constructor for class org.apache.shiro.crypto.hash.SimpleHashRequest
-
Creates a new SimpleHashRequest instance.
T
- toBase64() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Returns a Base64-encoded string of the underlying
AbstractCryptHash.formatToCryptString()formatted output}. - toBase64() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Returns a Base64-encoded string of the underlying
byte array. - toBase64() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns a Base64-encoded string of the underlying
byte array. - toByteSource(Object) - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Converts a given object into a
ByteSourceinstance. - toHex() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Returns a hex-encoded string of the underlying
AbstractCryptHash.formatToCryptString()formatted output}. - toHex() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Returns a hex-encoded string of the underlying
byte array. - toHex() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Returns a hex-encoded string of the underlying
byte array. - TOKEN_DELIMITER - Static variable in interface org.apache.shiro.crypto.hash.format.ModularCryptFormat
-
token delimiter.
- toString() - Method in class org.apache.shiro.crypto.hash.AbstractCryptHash
-
Simple implementation that merely returns
toHex(). - toString() - Method in class org.apache.shiro.crypto.hash.AbstractHash
-
Deprecated.Simple implementation that merely returns
toHex(). - toString() - Method in class org.apache.shiro.crypto.hash.SimpleHash
-
Simple implementation that merely returns
toHex().
V
- valueOf(String) - Static method in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.shiro.crypto.hash.format.ProvidedHashFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withParameters(Map<String, Object>) - Method in class org.apache.shiro.crypto.hash.HashRequest.Builder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
SimpleHashimplementation directly.