ROT13-Ruby
Jump to navigation
Jump to search
Ruby encoded in ROT-13 (Caesar Cipher with a shift of 13)
Another name for ROT13-Ruby is Ehol (which is Ruby in ROT-13) The file extension is .rb13 or .ehol
Examples
Hello World
chgf "Uryyb, jbeyq!" # chgf is puts and "Uryyb, jbeyq!" is "Hello, world!"
Interpreters
Ruby
#!/usr/bin/env ruby def rot13 text text.tr 'A-Za-z', 'N-ZA-Mn-za-m' end code = File::read ARGV[0] eval rot13 code