Fix encrypt to allow recipients specified as either a list or string (backwards compatible)