Last active
August 29, 2015 14:26
-
-
Save TheFrostlixen/467ff495a1ec26b29541 to your computer and use it in GitHub Desktop.
aamsay aatinlay aistgay anoay aithubgay
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
function SamL ($a) {$a = $a -replace "[^\w\s]",""; $b = $a.split(" ") | %{"a" + $_.substring(1) + $_[0].ToString().tolower() + "ay" }; [string]::Join(" ", $b) | Out-String } | |
function DecryptSamL ($a) {$b = $a.split(" ") | %{$_[$_.Length-3] + $_.Substring(1, $_.Length-4) }; [string]::Join(" ", $b) | Out-String } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment