Remove newline from encrypted field and iv
Use SecureRandom instead of rand
Clean up use of the algorithm option and iv creation, adding docs