Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AlgorithmSwitchingInitializer - Class in lib.pwss.algorithm_switch
-
This class is responsible for initializing the algorithm switching function.
- AlgorithmSwitchingInitializer() - Constructor for class lib.pwss.algorithm_switch.AlgorithmSwitchingInitializer
B
- BigFileHashHandler - Class in lib.pwss.hash.file_hash_handler
-
This class is designed to handle large files whose sizes exceed the available memory in the Java Heap.
- BigFileHashHandler(long) - Constructor for class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Constructor for BigFileHashHandler.
- BLAKE_2B_PRINT_PREFIX - Variable in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Prefix for BLAKE2b hash output.
- BLAKE_2B_PRINT_PREFIX - Variable in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Prefix for BLAKE2b hash output.
- blake2() - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Returns the value of the
blake2record component. - bytesToHex(byte[]) - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Convert a byte sequence to its hexadecimal string representation.
- bytesToHex(byte[]) - Method in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Convert a byte sequence to its hexadecimal string representation.
C
- calculateBlake2bHash(File) - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Calculates the BLAKE2b hash of a given file, taking into account any size limits.
- calculateBlake2bHash(File) - Method in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Calculates the Blake2B Hash of a file
- calculateBlake2bHash(File) - Method in interface lib.pwss.hash.FileHash
-
Calculates the Blake2B Hash of a file
- calculateSha256Hash(File) - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Calculates the SHA-256 hash of a given file, taking into account any size limits.
- calculateSha256Hash(File) - Method in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Calculates the SHA256 Hash of a file
- calculateSha256Hash(File) - Method in interface lib.pwss.hash.FileHash
-
Calculates the SHA256 Hash of a file
- calculateSha3Hash(File) - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Calculates the SHA-3 hash of a given file, taking into account any size limits.
- calculateSha3Hash(File) - Method in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Calculates the SHA3 Hash of a file
- calculateSha3Hash(File) - Method in interface lib.pwss.hash.FileHash
-
Calculates the SHA3 Hash of a file
- ChooseAlgorithm - Interface in lib.pwss.algorithm_switch
-
Interface designed to aid in the selection and implementation of different encryption algorithms.
- chooseAlgorithmImplementation(EncryptionAlgorithm) - Method in interface lib.pwss.algorithm_switch.ChooseAlgorithm
-
Chooses the appropriate algorithm implementation based on the provided encryption algorithm.
- compareHashesJavaEquals(String, String) - Static method in class lib.pwss.hash.compare.util.HashCompareUtil
-
Compares two hashes using Java's built-in
String.equals()method. - compareHashesXor(byte[], byte[]) - Static method in class lib.pwss.hash.compare.util.HashCompareUtil
-
Compares two hashes using an XOR operation on each corresponding byte.
- compareHashesXor(String, String) - Static method in class lib.pwss.hash.compare.util.HashCompareUtil
-
Compares two hashes using an XOR operation on each corresponding character.
- compareUsingXorAndJavaEquals(String, String) - Static method in class lib.pwss.hash.compare.util.HashCompareUtil
-
Compares two hashes using both XOR operation and Java's built-in
String.equals()method.
D
- DIGEST_SIZE_BLAKE_2B - Variable in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Digest size for BLAKE2b algorithm in bytes.
- DIGEST_SIZE_BLAKE_2B - Variable in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Digest size for BLAKE2b algorithm in bytes.
E
- EncryptionAlgorithm - Class in lib.pwss.algorithm_switch
-
The EncryptionAlgorithm class manages encryption algorithms and ensures that only one instance exists.
- EncryptionAlgorithm() - Constructor for class lib.pwss.algorithm_switch.EncryptionAlgorithm
-
Constructor to initialize the EncryptionAlgorithm with configuration values.
- EncryptionAlgorithmChoices - Class in lib.pwss.algorithm_switch
-
A class representing a set of choices for encryption algorithms.
- EncryptionAlgorithmChoices(String, String, String) - Constructor for class lib.pwss.algorithm_switch.EncryptionAlgorithmChoices
-
Constructor to initialize the encryption algorithm choices with given values.
- equals(Object) - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Indicates whether some other object is "equal to" this one.
- ERROR - Variable in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Error string constant.
- ERROR - Variable in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Error string constant.
F
- file() - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Returns the value of the
filerecord component. - FileHash - Interface in lib.pwss.hash
-
The FileHash interface provides methods to compute various cryptographic hash values (SHA-256, SHA-3, and BLAKE_2B) for a given file.
- FileHashHandler - Class in lib.pwss.hash.file_hash_handler
-
The FileHashHandler class provides methods for calculating hash values of a file using various hashing algorithms.
- FileHashHandler() - Constructor for class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Public Constructor
G
- getAlgorithm1() - Method in class lib.pwss.algorithm_switch.EncryptionAlgorithmChoices
-
Gets the first cryptographic algorithm.
- getAlgorithm2() - Method in class lib.pwss.algorithm_switch.EncryptionAlgorithmChoices
-
Gets the second cryptographic algorithm.
- getAlgorithm3() - Method in class lib.pwss.algorithm_switch.EncryptionAlgorithmChoices
-
Gets the third cryptographic algorithm.
- GetAllHashes(File) - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Calculates hashes of three different algorithms (SHA2,SHA3, BLAKE_2B) of a file
- GetAllHashes(File) - Method in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Calculates hashes of three different algorithms (SHA2,SHA3, BLAKE_2B) of a file
- GetAllHashes(File) - Method in interface lib.pwss.hash.FileHash
-
Calculates hashes of three different algorithms (SHA2,SHA3, BLAKE_2B) of a file
- getEncryptionAlgorithmChoices() - Method in class lib.pwss.algorithm_switch.EncryptionAlgorithm
-
Returns the encryption algorithm choices object.
- getSELECTED_ALGORITHM_FOR_PRODUCTION() - Method in class lib.pwss.algorithm_switch.EncryptionAlgorithm
-
Returns the selected algorithm identifier for production.
- getSELECTED_ALGORITHM_FOR_PRODUCTION_STRING() - Method in class lib.pwss.algorithm_switch.EncryptionAlgorithm
-
Returns the selected algorithm for production as a string based on a predefined selection.
- getUserDefinedMaxLimit() - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Gets the user-defined maximum file size limit.
H
- hashCode() - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Returns a hash code value for this object.
- HashCompareUtil - Class in lib.pwss.hash.compare.util
-
Utility class for comparing hashes.
- HashForFilesOutput - Record Class in lib.pwss.hash.model
-
A record representing the output of a hash operation for files.
- HashForFilesOutput(File, String, String, String) - Constructor for record class lib.pwss.hash.model.HashForFilesOutput
-
Creates an instance of a
HashForFilesOutputrecord class.
I
- implementAlgorithm1() - Method in interface lib.pwss.algorithm_switch.ChooseAlgorithm
-
Implement the first encryption algorithm.
- implementAlgorithm2() - Method in interface lib.pwss.algorithm_switch.ChooseAlgorithm
-
Implement the second encryption algorithm.
- implementAlgorithm3() - Method in interface lib.pwss.algorithm_switch.ChooseAlgorithm
-
Implement the third encryption algorithm.
- initAlgorithmSwitchingFunction() - Method in class lib.pwss.algorithm_switch.AlgorithmSwitchingInitializer
-
Initializes the algorithm switching function by writing default configuration values to a properties file.
L
- lib.pwss.algorithm_switch - package lib.pwss.algorithm_switch
- lib.pwss.hash - package lib.pwss.hash
- lib.pwss.hash.compare.util - package lib.pwss.hash.compare.util
- lib.pwss.hash.file_hash_handler - package lib.pwss.hash.file_hash_handler
- lib.pwss.hash.model - package lib.pwss.hash.model
S
- setUserDefinedMaxLimit(long) - Method in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Sets the user-defined maximum file size limit.
- sha256() - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Returns the value of the
sha256record component. - SHA256_PRINT_PREFIX - Variable in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Prefix for SHA-256 hash output.
- SHA256_PRINT_PREFIX - Variable in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Prefix for SHA-256 hash output.
- sha3() - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Returns the value of the
sha3record component. - SHA3_PRINT_PREFIX - Variable in class lib.pwss.hash.file_hash_handler.BigFileHashHandler
-
Prefix for SHA3 hash output.
- SHA3_PRINT_PREFIX - Variable in class lib.pwss.hash.file_hash_handler.FileHashHandler
-
Prefix for SHA3 hash output.
T
- toString() - Method in record class lib.pwss.hash.model.HashForFilesOutput
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages|Constant Field Values