Exposes Argon2id's hash and verify functions as MySQL functions
To build + install on Ubuntu:
- install
libmysqlclient-dev
, andlibargon2-dev
- run
build.sh
- copy the resulting
libmysql-argon2.so
to/usr/lib/mysql/plugin
- Add the functions to your db
CREATE FUNCTION ARGON2ID_HASH RETURNS STRING SONAME 'libmysql-argon2.so'
CREATE FUNCTION ARGON2ID_VERIFY RETURNS INTEGER SONAME 'libmysql-argon2.so'