This project provides a robust and easy-to-use Argon2 password hashing library specifically designed for the NodePP environment. Argon2 is a modern, memory-hard algorithm that won the Password Hashing Competition and is recommended for its strong security properties against various attacks, including GPU cracking. By bringing Argon2 to NodePP, this library enables developers to leverage the performance of C++ for critical security tasks within their asynchronous, event-driven applications.
# Argon2
🪟: pacman -S mingw-w64-ucrt-x86_64-argon2
🐧: sudo apt install libargon2-devinclude(FetchContent)
FetchContent_Declare(
nodepp
GIT_REPOSITORY https://github.com/NodeppOfficial/nodepp
GIT_TAG origin/main
GIT_PROGRESS ON
)
FetchContent_MakeAvailable(nodepp)
FetchContent_Declare(
nodepp-argon
GIT_REPOSITORY https://github.com/NodeppOfficial/nodepp-argon
GIT_TAG origin/main
GIT_PROGRESS ON
)
FetchContent_MakeAvailable(nodepp-argon)
#[...]
target_link_libraries( #[...]
PUBLIC nodepp nodepp-argon #[...]
)🪟: g++ -o main main.cpp -I ./include -largon2 -lws2_32 ; ./main
🐧: g++ -o main main.cpp -I ./include -largon2 ; ./mainNodepp-Argon2 is distributed under the MIT License. See the LICENSE file for more details.