Jump to content

Irc Challenge


Warrior124

Recommended Posts

This is an irc challenge. The challenge is to decode the text listed below. Decode the text, and display the code you used to decode the text. The code with the least size wins. This challenge will go on for two days. :)

 

xzm blf tfvhh dszg gsrh rh?

 

Hint: The key lies inside the alphabet. This is a complete sentence. :)

Edited by Warrior124
Link to comment
Share on other sites

Yes, I can guess what this is *hint hint* ( but I had to use a pencil and paper to make sure lol).

 

Thx for giving me sth to think .... if only you could make me coffee as well :P

 

P.S. Yeah , I know. My post is irrelevant as I have no code to offer but I just wanted to tell Warrior that he should have put a longer ( not that easy to guess, let alone figure out) sentence.

Edited by iLia
Link to comment
Share on other sites

151 byte non-regex version:

 

alias c var %i $len($1),%r | while $mid($1,%i,1) { %r = $+($iif($v1 !isalnum,$v1,$chr($calc(219-$asc($v1)))),%r) | dec %i } | return $left(%r,$len($1))

 

69 byte regex version:

 

alias d return $regsubex($1,/([a-z0-9])/gi,$chr($calc(219-$asc(\t))))

 

I'm not sure if regex is banned from challenges here like it is most other places, so I've done two versions :)

 

$c(xzm blf tfvhh dszg gsrh rh?) = can you guess what this is?

$d(xzm blf tfvhh dszg gsrh rh?) = can you guess what this is?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...