diff --git a/howto_compile.txt b/howto_compile.txt index a214623..788d688 100644 --- a/howto_compile.txt +++ b/howto_compile.txt @@ -3,9 +3,11 @@ Thanks a lot to @marcel use "make all" -https://gist.github.com/ZeChrales/28373120d41829d8e4cd3bdc959cb275 +https://gist.github.com/Noctem/018c107d6a6297c24e36a00d4da046c9 Thanks a lot to @Waryas -Linux : - cc -fPIC -shared -o libnhash.so libnhash.c -Windows : - oh plz ! \ No newline at end of file +Linux: + cc -fPIC -O3 -shared niahash.c -o libniantichash-linux-x86-64.so +macOS: + clang -march=core2 -shared -fPIC -mmacosx-version-min=10.7 -O3 niahash.c -o libniantichash-macos-x86-64.dylib +Windows: + x86_64-w64-mingw32-gcc -O3 -fPIC -shared niahash.c -o libniantichash-windows-x86-64.dll diff --git a/libniantichash-freebsd-i386.so b/libniantichash-freebsd-i386.so new file mode 100644 index 0000000..258d65b Binary files /dev/null and b/libniantichash-freebsd-i386.so differ diff --git a/libniantichash-freebsd-x86-64.so b/libniantichash-freebsd-x86-64.so new file mode 100644 index 0000000..9b37572 Binary files /dev/null and b/libniantichash-freebsd-x86-64.so differ diff --git a/libniantichash-linux-arm-32.so b/libniantichash-linux-arm-32.so deleted file mode 100644 index 8b00307..0000000 Binary files a/libniantichash-linux-arm-32.so and /dev/null differ diff --git a/libniantichash-linux-arm32.so b/libniantichash-linux-arm32.so new file mode 100644 index 0000000..d0cee23 Binary files /dev/null and b/libniantichash-linux-arm32.so differ diff --git a/libniantichash-linux-arm64.so b/libniantichash-linux-arm64.so new file mode 100644 index 0000000..8739b7d Binary files /dev/null and b/libniantichash-linux-arm64.so differ diff --git a/libniantichash-linux-i386.so b/libniantichash-linux-i386.so new file mode 100644 index 0000000..9737276 Binary files /dev/null and b/libniantichash-linux-i386.so differ diff --git a/libniantichash-linux-x86-64.so b/libniantichash-linux-x86-64.so new file mode 100644 index 0000000..a716c44 Binary files /dev/null and b/libniantichash-linux-x86-64.so differ diff --git a/libniantichash-macos-i386.dylib b/libniantichash-macos-i386.dylib new file mode 100644 index 0000000..7ba41ca Binary files /dev/null and b/libniantichash-macos-i386.dylib differ diff --git a/libniantichash-macos-x86-64.dylib b/libniantichash-macos-x86-64.dylib new file mode 100644 index 0000000..15102a4 Binary files /dev/null and b/libniantichash-macos-x86-64.dylib differ diff --git a/libniantichash-windows-i686.dll b/libniantichash-windows-i686.dll new file mode 100644 index 0000000..2e21367 Binary files /dev/null and b/libniantichash-windows-i686.dll differ diff --git a/libniantichash-windows-x86-64.dll b/libniantichash-windows-x86-64.dll new file mode 100644 index 0000000..675372a Binary files /dev/null and b/libniantichash-windows-x86-64.dll differ diff --git a/libencrypt-freebsd-64.so b/libpcrypt-freebsd-x86-64.so similarity index 100% rename from libencrypt-freebsd-64.so rename to libpcrypt-freebsd-x86-64.so diff --git a/libencrypt-linux-arm-32.so b/libpcrypt-linux-arm32.so similarity index 100% rename from libencrypt-linux-arm-32.so rename to libpcrypt-linux-arm32.so diff --git a/libencrypt-linux-x86-64.so b/libpcrypt-linux-x86-64.so similarity index 100% rename from libencrypt-linux-x86-64.so rename to libpcrypt-linux-x86-64.so diff --git a/libencrypt-osx-64.so b/libpcrypt-macos-x86-64.dylib similarity index 100% rename from libencrypt-osx-64.so rename to libpcrypt-macos-x86-64.dylib diff --git a/encrypt32.dll b/libpcrypt-windows-i686.dll similarity index 100% rename from encrypt32.dll rename to libpcrypt-windows-i686.dll diff --git a/encrypt64.dll b/libpcrypt-windows-x86-64.dll similarity index 100% rename from encrypt64.dll rename to libpcrypt-windows-x86-64.dll