Example of encryption and decryption in Ruby, Javascript (CryptoJS) and Shell (openssl)