Skip to content

NodeppOfficial/nodepp-argon2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argon2 for NodePP: Secure Password Hashing in C++

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.

Dependencies & Cmake Integration

# Argon2
    🪟: pacman -S mingw-w64-ucrt-x86_64-argon2
    🐧: sudo apt install libargon2-dev
include(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 #[...]
)

Build & Run

🪟: g++ -o main main.cpp -I ./include -largon2 -lws2_32 ; ./main
🐧: g++ -o main main.cpp -I ./include -largon2          ; ./main

License

Nodepp-Argon2 is distributed under the MIT License. See the LICENSE file for more details.

Releases

Packages

Contributors

Languages