An open API service indexing awesome lists of open source software.

https://github.com/japrozs/cpp-bcrypt

A cpp port of the bcrypt javascript library
https://github.com/japrozs/cpp-bcrypt

bcrypt cpp hash port

Last synced: 11 months ago
JSON representation

A cpp port of the bcrypt javascript library

Awesome Lists containing this project

README

          

# cpp-bcrypt
A cpp port of the javascript bcrypt library.

## Usage

```cpp
#include
#include

int main(){
std::string hash = bcrypt::hash("this is the string", 10); // hash 16 times
std::cout << hash << "\n"; // $2a$10$T52Pgdtc43ikySun8/X7L.KzygvwjoCPraRag/kmd2ifP8qMuCvwW

return EXIT_SUCCESS;
}

```