mirror of
https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git
synced 2026-08-21 13:36:21 -04:00
1.5 KiB
1.5 KiB
A multi-purpose Cryptography library in Java. Working on it day by day, slowly. Someday this will be complete, today is not that day.
Current objective: Hashing (SHA-0)
Note: SHA0 is so unused that I am unable to verify if mine works or not due to the lack of online SHA(ers).
Use setopt interactivecomments (zsh only) to allow using # for comments if you see errors like zsh: command not found: #
Ensure Java + javac are installed, on MacOS it can be installed with Homebrew by running brew install openjdk
To compile on MacOS 26 (may work on other OS, idk):
- git clone https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git # download the git repository
- mkdir -p out # create output directory
- javac -d out $(find src -name "*.java") # converts .java into .class bytecode
- jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . # package the .class files into a .jar
- (optional)- jar tf XACrypto.jar # view the contents of the jarfile
To compile on Windows 10 (requires java+javac to already be installed):
- git clone https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git && REM download the git repository
- mkdir out && REM create output directory
- dir /s /b src*.java > sources.txt && REM create sources
- javac -d out @sources.txt && REM form sources into java bytecode
- jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . && REM form java bytecode into jar
- (optional)- jar tf XACrypto.jar && view jarfile contents
XACrypto.jar is now in the project root (if u did everything correctly).