Created a solution to encrypt in fortran.  Apparently there is a line length limit, and it caused a little anger.
trim our strings before printing
Copy-pastad encrypt to decrypt for fortran, because there was scope issues with having encrypt call decrypt