Found cryptography library that was very easy to install.

Have hashing and verification functs ready.
This commit is contained in:
MassiveAtoms
2019-06-30 14:49:20 -03:00
parent 0674aacbeb
commit db78ecd9cc
7 changed files with 72 additions and 6 deletions

View File

@ -6,7 +6,9 @@ SQLite::Database
start_db() {
SQLite::Database db("test.db3",
SQLite::OPEN_READWRITE | SQLite::OPEN_CREATE);
while (sodium_init()< 0){
std::cout << "SODIUM NOT WORKING";
}
db.exec(
"create table if not exists Customer (id integer primary key, name "
"text, card_code varchar(20), verhicle int)");