This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programming Diversions and the fly likes Encryption puzzle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Encryption puzzle" Watch "Encryption puzzle" New topic

Encryption puzzle

Shane Burgel
Ranch Hand

Joined: Sep 09, 2003
Posts: 47
Can you figure out how to decrypt this?

(I got bored and wrote an encryption program today that uses a standard technique and if you are anything like me you love puzzles so here you go)

Vega Zimur

Joined: Jul 14, 2010
Posts: 9
using this brute-force shift cipher in javascript I can't get a solution ^^
Shane Burgel
Ranch Hand

Joined: Sep 09, 2003
Posts: 47
Yep, it's not a shift. It's polyalphabetic. Keep trying!
fred rosenberger
lowercase baba

Joined: Oct 02, 2003
Posts: 11858

I got it. It decrypts to "Oh what a tangled web we weave, When first we practice to deceive!"

Now, you just have to figure out my decryption method that got me that result!!!

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Shane Burgel
Ranch Hand

Joined: Sep 09, 2003
Posts: 47
LOL, here's a hint. It's encoded using a Vigenere Cipher.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Encryption puzzle
jQuery in Action, 3rd edition