Mailvelope is a Firefox plugin to add PGP encryption to any webmail provider. PGP stand for Pretty Good Privacy and is a standard means of public key cryptography. This plugin allows you to use it without the need for using an email client.
You can also use Mailvelope to encrypt files.
When you visit a common webmail provider you will see the Mailvelope icon in the compose box: