Jump to content
SubSpace Forum Network

Recommended Posts

Posted

Here take mine:

 

sub encrypt {

@data = @_;

$encrypted = pack("C*", @data);

return $encrypted;

}

 

sub decrypt {

$data = $_[0];

$i = 0;

foreach (unpack("C*", $data)) {

$decrypted[$i] = sprintf("%x", $_);

$i++;

}

return @decrypted;

}

Posted
GAAAAAAH....... TOO.. .MUCH... INFORMA...TION...... AGHHHHH... :syrus: *head blows up in a big flash and leaves electric sparks all over the place*
Posted
... NOOB! ... He asked if you are looking for the encyrption to and from 4 byte/2 byte little-endian integers/shorts ... COME ON! THAT'S AN EASY QUESTION
Posted

>>Smong

It looked like a standard GPL to me, but I was uncertain anyways since the source I am referring to is written by Snrrrub - not Kirk.

 

>>Samapico

Uhh...

 

>>Snrrrub

Thanks a lot :D

Guest
This topic is now closed to further replies.
×
×
  • Create New...