/optiprobe-core-lib

Primary LanguageJavaMIT LicenseMIT

Optiprobe Core Lib

License: MIT

OptiprobeCoreLib is a Java library that provides an implementation of the IHashGenerator interface, generating hash values using the SHA-256 (and more to come) hashing algorithm.

Usage

import org.cucumberstudios.hashing.impl.SHA256HashGenerator;
import org.cucumberstudios.hashing.IHashGenerator;

public class Example {
    public static void main(String[] args) {
        IHashGenerator hashGenerator = new SHA256HashGenerator();
        String uniqueReferenceId = "example_reference_id";
        int hashValue = hashGenerator.generateHash(uniqueReferenceId);
        System.out.println("Hash value: " + hashValue);
    }
}

Installation

To use SHA256HashGenerator in your project, you can clone the repository and include it in your project as a library.

License

This library is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or feature requests.

Author

SHA256HashGenerator is authored by Pradipta.

Documentation

For more detailed information on how to use SHA256HashGenerator, refer to the Javadoc.