Skip to content

Instantly share code, notes, and snippets.

@Lifelovinglight
Created December 19, 2019 03:01
Show Gist options
  • Save Lifelovinglight/124bb69ca06a0ff970241b799ea1e405 to your computer and use it in GitHub Desktop.
Save Lifelovinglight/124bb69ca06a0ff970241b799ea1e405 to your computer and use it in GitHub Desktop.
Descramble coded message found in Leather Goddesses of Phobos.
#!/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