Symmetric and asymmetric encryptions