Sha256 > Main (#1)

* Update SHA256Advanced.java

ByteFromHex function

* OH MY GOD

45 mins of coding. my brain hurts lol. its likely i will move sha256 to its own package inside of hash as Digest and several other classes will be included in it so instead of plopping them inside of misc i think ill use a standalone package. thanks for reading my rant

* several sha components

finally made sha256 standalone package, added classes:
HMAC
HKDF (placeholder for now)
Hex
Digest too but i did that last night

* desc

maybe it done

* Update README.md

* COMPLETION!

XACrypto\SHA256 is officially finished in its entirety. I might still make more modifications tho lol

* Update XACrypto.java

yippie! i made a dumb mistake

* bug fix

TWO. GOD. DAMN. CHARACTERS. completely messed up the end hash. i used 0 instead of i inside a for loop. i want to die :)

* remove tests + update README + good riddance garbage messagedigest sha256

yip
This commit is contained in:
Xiao X
2026-05-27 19:01:40 -04:00
committed by GitHub
parent 00d816ad17
commit 44859407cf
11 changed files with 504 additions and 102 deletions
+9 -2
View File
@@ -13,6 +13,13 @@ To compile on MacOS 26 (may work on other OS, idk):
4. jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . # package the .class files into a .jar
5. (optional)- jar tf XACrypto.jar # view the contents of the jarfile
XACrypto.jar is now in the project root (if u did everything correctly).
To compile on Windows 10:
-- A new release will **NOT** be published until SHA256Advanced is complete. --
1. git clone https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git && REM download the git repository
2. mkdir out && REM create output directory
3. dir /s /b src\*.java > sources.txt && REM create sources
4. javac -d out @sources.txt && REM form sources into java bytecode
5. jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . && REM form java bytecode into jar
6. (optional)- jar tf XACrypto.jar && view jarfile contents
XACrypto.jar is now in the project root (if u did everything correctly).