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

@ -19,6 +19,8 @@ add_executable(park
headers/Park_spot.h
Park_time.cpp
headers/Park_time.h
encrypt.cpp
headers/encrypt.h
)
@ -30,6 +32,7 @@ if (UNIX)
sqlite3
pthread
dl
libsodium
)
elseif (MSYS OR MINGW)
target_link_libraries(park
@ -37,6 +40,7 @@ elseif (MSYS OR MINGW)
sqlite3
pthread
ssp
libsodium
)
endif()