PROJECTS

Sqlitehash

Glue-code for using openssl digest-functions in SQLite3.

Usage

Compile

gcc -Wall -fPIC sqlite_hash.c -o hash.so -lcrypto -shared

Load

.load hash.so

Use

select hash('sha256', 'Teststring') as ShaBlob;
select hex(hash('sha256', 'Teststring')) as ShaString;

Source