Encrypts and decrypts strings using either the Caesar cipher or a pseudorandom number generation (using set.seed()) method.