Encrypt to a given key, not working at the moment.