crypto: add RSA encryption
add privateDecrypt
fix compilation on linux
crypto: add test for RSA encryption/decryption
add docs
combine PublicEncrypt and PrivateDecrypt
add typedefs
trying to refactor