cleaned up decrypt

changed more std::shared_ptr to std::make_shared
changed static_cast <int> to static_cast <unsigned int>
added most of encryption and decryption with symmetric algorithms. need
to get them right though
encrypt and decrypt are now encrypt_pka, encrypt_sym, decrypt_pka,
decrypt_sym