lib/crypto: Added cryptography basic algos to lib

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>