+ Reply to Thread
Results 1 to 5 of 5

Thread: Atbash solver?

  1. #1
    KhayPrower's Avatar
    KhayPrower is offline Twelever Silver KhayPrower is an unknown quantity at this point
    Join Date
    Mar 2006
    Location
    Norman, OK
    Posts
    339

    Default Atbash solver?

    I need to solve a LOT of text, and do not really want to do it by hand. Anyone know of an Atbash solver, that can handle entire blocks at a time?

    Yours,
    Me
    There's no such thing as a were-virgin....

    Try a puzzle in Khay's Cage: http://www.tweleve.org/forum/viewtopic.php?t=5234

  2. #2
    Molnar's Avatar
    Molnar is offline Expert Twelever TwelevePlus
    Peridot
    Molnar will become famous soon enough
    Join Date
    Feb 2005
    Location
    CA
    Posts
    1,411

    Default

    Here is a link to a DOS command line solver. For linux, I'd probably just write my own.

    http://home.cogeco.ca/~cipher/cyprogs.htm#atb
    WHRECVBBLSMCEYVIHTEOIZROMR

  3. #3
    drmindhacker is offline Needs to say Hello! drmindhacker is an unknown quantity at this point
    Join Date
    May 2006
    Posts
    1

    Default

    Not sure how it will perform with large amounts
    of text (javascript);

    http://evercrack.cjb.cc/tools/monosub/atbash.html

  4. #4
    Niosop's Avatar
    Niosop is offline Tweleve Brain Tweaker TwelevePlus Niosop is an unknown quantity at this point
    Join Date
    Oct 2006
    Posts
    9

    Default How much is a LOT

    How much text do you need to process? I could whip up a quick Python script that would do it if you'd like.

    Niosop

  5. #5
    Niosop's Avatar
    Niosop is offline Tweleve Brain Tweaker TwelevePlus Niosop is an unknown quantity at this point
    Join Date
    Oct 2006
    Posts
    9

    Default Simple script

    Here's a simple Python script that should do it. I'm not a crypto guy, so let me know if it has any problems...right now it just does upper and lower case letters.

    Code:
    import string, sys
    
    f = file(sys.argv[1])
    data = f.read()
    table=string.maketrans('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ','zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA')
    print data.translate(table)
    save it as something (atbash.py for example) and you should be able to execute it using:
    Code:
    python atbash.py thefile.txt
    where atbash.py is the file you saved the script as, and thefile.txt is the text that you want decrypted.

    Niosop

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts