- hash(byte[]) - Method in class cz.d1x.dxcrypto.hash.DigestAlgorithm
-
- hash(String) - Method in class cz.d1x.dxcrypto.hash.DigestAlgorithm
-
- hash(String) - Method in interface cz.d1x.dxcrypto.hash.HashingAlgorithm
-
Creates a hash from input text.
- hash(byte[]) - Method in interface cz.d1x.dxcrypto.hash.HashingAlgorithm
-
Creates a hash from input bytes.
- hash(String) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecorator
-
Creates a hash from input text.
- hash(byte[]) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecorator
-
Creates a hash from input bytes.
- hash(String, String) - Method in interface cz.d1x.dxcrypto.hash.SaltedHashingAlgorithm
-
Creates a hash from given input and given salt.
- hash(byte[], byte[]) - Method in interface cz.d1x.dxcrypto.hash.SaltedHashingAlgorithm
-
Creates a hash from given input bytes and given salt bytes.
- hash(String, String) - Method in class cz.d1x.dxcrypto.hash.SaltingAdapter
-
- hash(byte[], byte[]) - Method in class cz.d1x.dxcrypto.hash.SaltingAdapter
-
- HashingAlgorithm - Interface in cz.d1x.dxcrypto.hash
-
Interface for algorithms that are able to create hash from given input.
- HashingAlgorithmBuilder - Class in cz.d1x.dxcrypto.hash
-
Base builder for all hashing algorithms.
- HashingAlgorithmBuilder() - Constructor for class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
-
- HashingAlgorithms - Class in cz.d1x.dxcrypto.hash
-
Factory that provides builders for available hashing algorithms.
- HashingAlgorithms() - Constructor for class cz.d1x.dxcrypto.hash.HashingAlgorithms
-
- HashingException - Exception in cz.d1x.dxcrypto.hash
-
Wrapper for exceptions during hashing.
- HashingException(String) - Constructor for exception cz.d1x.dxcrypto.hash.HashingException
-
Creates a new hashing exception.
- HashingException(Throwable) - Constructor for exception cz.d1x.dxcrypto.hash.HashingException
-
Creates a new hashing exception.
- HashingException(String, Throwable) - Constructor for exception cz.d1x.dxcrypto.hash.HashingException
-
Creates a new hashing exception.
- HexRepresentation - Class in cz.d1x.dxcrypto.common
-
Implementation that represents byte arrays in HEX form.
- HexRepresentation() - Constructor for class cz.d1x.dxcrypto.common.HexRepresentation
-
Creates a new instance of HEX representation that uses default lower-cased letters.
- HexRepresentation(boolean) - Constructor for class cz.d1x.dxcrypto.common.HexRepresentation
-
Creates a new instance of HEX representation that uses given casing of letters.
- salted() - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
-
Builds a hashing algorithm and wraps it by salting adapter builder.
- salted(CombineAlgorithm) - Method in class cz.d1x.dxcrypto.hash.HashingAlgorithmBuilder
-
Builds a hashing algorithm and wraps it by salting adapter builder with custom combine algorithm.
- salted() - Method in class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
-
Builds a repeating decorator and wraps it by salting adapter builder.
- salted(CombineAlgorithm) - Method in class cz.d1x.dxcrypto.hash.RepeatingDecoratorBuilder
-
Builds a repeating decorator and wraps it by salting adapter builder with custom combine algorithm.
- SaltedHashingAlgorithm - Interface in cz.d1x.dxcrypto.hash
-
Interface for algorithms that are able to create hash from given input and given salt.
- SaltingAdapter - Class in cz.d1x.dxcrypto.hash
-
Adapter for hashing algorithms that combines input text and salt before it is processed by adapted algorithm.
- SaltingAdapter(HashingAlgorithm, BytesRepresentation, CombineAlgorithm, String) - Constructor for class cz.d1x.dxcrypto.hash.SaltingAdapter
-
Creates a new salting adapter.
- SaltingAdapterBuilder - Class in cz.d1x.dxcrypto.hash
-
Builder for salted hashing algorithm that is based on existing hashing algorithms.
- SaltingAdapterBuilder(HashingAlgorithm, BytesRepresentation, String) - Constructor for class cz.d1x.dxcrypto.hash.SaltingAdapterBuilder
-
Creates a new builder for salting adapter with given hashing algorithm.
- SecureProperties - Class in cz.d1x.dxcrypto.props
-
Extension of
Properties that allows storing and reading encrypted values by given encryption
algorithm.
- SecureProperties(EncryptionAlgorithm) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
-
Creates a new properties that will use given encryption algorithm.
- SecureProperties(Properties, EncryptionAlgorithm) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
-
Creates a new properties that will use given encryption algorithm.
- SecureProperties(EncryptionAlgorithm, String) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
-
Creates a new properties that will use given encryption algorithm and given suffix will be used for recognition
whether value is encrypted or not.
- SecureProperties(Properties, EncryptionAlgorithm, String) - Constructor for class cz.d1x.dxcrypto.props.SecureProperties
-
Creates a new properties that will use given encryption algorithm and given suffix will be used for recognition
whether value is encrypted or not.
- setEncryptedProperty(String, String) - Method in class cz.d1x.dxcrypto.props.SecureProperties
-
- sha1() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
-
Creates a new builder for SHA-1 hashing algorithm.
- sha256() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
-
Creates a new builder for SHA-256 hashing algorithm.
- sha512() - Static method in class cz.d1x.dxcrypto.hash.HashingAlgorithms
-
Creates a new builder for SHA-512 hashing algorithm.
- split(byte[]) - Method in class cz.d1x.dxcrypto.common.ConcatAlgorithm
-
- split(byte[]) - Method in interface cz.d1x.dxcrypto.common.SplitAlgorithm
-
Splits input (that was combined earlier) back to original.
- SplitAlgorithm - Interface in cz.d1x.dxcrypto.common
-
Algorithm that is able to split one input into two originals.
- SymmetricCryptoAlgorithm - Class in cz.d1x.dxcrypto.encryption
-
Main implementation of encryption algorithms that use symmetric key based on existing javax.crypto package.
- SymmetricCryptoAlgorithm(String, KeyFactory<Key>, CombineSplitAlgorithm, BytesRepresentation, String) - Constructor for class cz.d1x.dxcrypto.encryption.SymmetricCryptoAlgorithm
-
Creates a new instance of base symmetric algorithm.
- SymmetricCryptoAlgorithmBuilder - Class in cz.d1x.dxcrypto.encryption
-
- SymmetricCryptoAlgorithmBuilder(byte[], String, String, int, int) - Constructor for class cz.d1x.dxcrypto.encryption.SymmetricCryptoAlgorithmBuilder
-
- SymmetricCryptoAlgorithmBuilder(KeyFactory<Key>, String, String, int) - Constructor for class cz.d1x.dxcrypto.encryption.SymmetricCryptoAlgorithmBuilder
-