TerpDAC / Bcrypt-ESP8266

Bcrypt for the ESP8266 - featuring the TRNG!
Creative Commons Zero v1.0 Universal
5 stars 1 forks source link

Sample code to hash a password #1

Open adonespitogo opened 5 years ago

adonespitogo commented 5 years ago

Hi, I'm new to C programming and arduino/esp8266 in general.

I just want to see a sample code that turns a string/password into a hash using bcrypt.

Thanks

alberthdev commented 5 years ago

Take a look at this short example provided here: https://github.com/TerpDAC/Bcrypt-ESP8266/blob/master/src/bcrypt.hpp#L63