clean up encrypt example and add decrypt