Examples of openssl to Ruby and CryptoJS