Basic Text Encryption

By Soulkeeper on Aug 14, 2008

All this is is an alias to provide basic usage of mIRC's built-in encryption systems.

Simple to use. You just need to imagine a key number, I like to use 5.

/senc 5 text here.

To read text, just replace "text here." with the encrypted text.

Edit:

This snippet's main drive is $xor. For those of you who don't know what xor is, now is the time to do /help $xor.

alias senc { 
  var %e = $1
  msg $active $regsubex($2-,/(.)/g,$chr($xor($asc($regml(\n)),%e))) 
}

Comments

Sign in to comment.
napa182   -  Aug 14, 2008

it\'s a neat lil thing to piss around with 6/10

 Respond  
EL   -  Aug 14, 2008

Rofl who gave this a 7 wtf its neat at best i don\'t see a useful application for it no offense Soul.`-.-´

 Respond  
IFHTT   -  Aug 14, 2008

Ah, I see... I had assumed that was the issue at first, I\'m still on 6.17 lol...

Edit @ EL below: I gave it a 7 because it\'s a simple and useful method for encryption, and in the hands of the average inexperienced irc user it could serve some purpose. I agree that it\'s not the MOST secure or useful method to do so but it is a useable method nonetheless, and I\'ve seen people using the exact same technique with crappier scripting. I don\'t see what difference it makes anyway...

 Respond  
Soulkeeper   -  Aug 14, 2008

I found out, it doesn\'t work perfectly with every version of mIRC. :/
Should work with never versions, just fine.

EDIT:
Fixed. Missed a backslash in there. :/

 Respond  
IFHTT   -  Aug 14, 2008

This didn\'t work for me until I replaced $regml(n) with \"backslash t\"

alias senc { 
  var %% = $1
  msg $active $regsubex($2-,/(.)/g,$chr($xor($asc(\\t),%%)))
}

Still a simple and neat encryption snippet.

Edit: Apparently it doesn\'t allow the backslashes. :S

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.