Created
December 19, 2019 03:01
-
-
Save Lifelovinglight/124bb69ca06a0ff970241b799ea1e405 to your computer and use it in GitHub Desktop.
Descramble coded message found in Leather Goddesses of Phobos.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use warnings; | |
sub phobosDecrypt { | |
reverse shift =~ tr/A-Z/X-ZA-W/r; | |
} | |
print "Enter encrypted message:\n"; | |
print "> "; | |
my $message = <STDIN>; | |
print(phobosDecrypt($message) . "\n"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment