Ruby example now using random IV and standard core libraries