$cry34 (encrypt decrypt text)

By h3lp on Sep 27, 2005

Cry34 by h3lp (encrypt 34)

usage:
$cry34(text,properties)

properties =
e = encrypt the text
d = decrypt the text

alias cry34 {
  var %n = 1, %cry34 = ""
  if ($2 == e) { 
    while ($mid($1,%n,1)) { %cry34 = %cry34 $+ $iif($mid($1,%n,1) == $chr(32),$chr(66),$chr($calc($asc($mid($1,%n,1)) + 34))) | inc %n  }
  }
  else if ($2 == d) {
    while ($mid($1,%n,1)) { %cry34 = %cry34 $+ $iif($mid($1,%n,1) == $chr(66),-,$chr($calc($asc($mid($1,%n,1)) - 34))) | inc %n }
  }
  else { echo -a * Invalid Parameter }
  return %cry34
}

Comments

Sign in to comment.
h3lp   -  Sep 28, 2005

Vortex: u should use mIRC 6.16, and the way of usage is:-

eg:

to encrypt text = \"//echo - $cry34(hello,e)\" return
then decrypt the text = \"//echo - $cry34(,d)\" return hello

 Respond  
Vortex   -  Sep 27, 2005

Doesn\'t work for me.

 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.