basic samples for using cryptography

For understanding how symmetric and asymmetric crypto work and what
containers like PKCS#7 are for