Let `encrypt` and `decrypt` accept `keys`