Changed encryption to user the OpenSSL random_iv instead of rand.to_s
because sometimes that is not long enough.
Merge pull request #27 from rwc9u/iv_randomness

Fix for OpenSSL::Cipher::CipherError: iv length too short