Google: Da Vinci Code Atbash Translator

1st May 2006Uncategorized

Today I found a Google: Da Vinci Code puzzle that required an Atbash translation. I soon found out that Atbash isn’t a spoken language, but rather a simple substitution code. A is Z, B is Y, etc. The formula I used to write my script (while messy) is:

$nOrd2 = $nOrd + (26 – (($nOrd*2)-1)) – 2;

Yes, I know that can be cleaned up, a lot, but that’s what I came up with rather quickly. I also wrote this script, which allows you to encode and decode your own atbash translations:

No Comments Comments Feed

Sorry, the comment form is closed at this time.

The comments are closed.