jna-gmp
A Java JNA wrapper around the GNU Multiple Precision Arithmetic Library.
File Explorer
Download Latest Version (.zip)- deploy_snapshot.sh
- settings.xml
- NativeRSACoreEngine.java
- NativeRSAEngine.java
- NativeRSAPerf.java
- NativeRSATest.java
- NativeRSAVectors.java
- pom.xml
- README.md
- Gmp.java
- GmpInteger.java
- LibGmp.java
- libgmp.dylib
- libgmp.so
- libgmp.so
- COPYING.LIBGMP
- GmpIntegerTest.java
- GmpTest.java
- LibGmpTest.java
- ModPowLeak.java
- ModPowPerf.java
- ModPowVectors.java
- Dockerfile.linux-x86-64
- gmp-6.1.1.tar.bz2.sha512
- Makefile.libgmp
- pom.xml
- README.md
- .gitignore
- .travis.yml
- CHANGELOG.md
- checkstyle.xml
- CONTRIBUTING.md
- LICENSE.txt
- pom.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/square/jna-gmp
Downloads the entire project code from GitHub to your computer.
cd jna-gmp
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f jnagmp/Dockerfile.linux-x86-64 -t jna-gmp .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 jna-gmp
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Maven (Java)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
cd bc-rsa
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
A BUILD SUCCESS message means it worked. The output is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
