Add Encrypt class

Signed-off-by: Antti-Ville Jokela <antti-ville@avjokela.eu>