Author Topic: sha1  (Read 1997 times)


I wonder if there are any other "cryptographic" functions built into blockland.
There's a CRC hash generator, that's about it. (you can recreate hashes in TorqueScript anyway)
« Last Edit: December 01, 2011, 07:57:44 PM by Destiny/Zack0Wack0 »

There's a CRC hash generator, that's about it. (you can recreate hashes in TorqueScript anyway)
Or people can just make them lol
One second let me make something.
Code: [Select]
$ExampleCharSet::In = "a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 10 { } ;";
$ExampleCharSet::Ot = "f e d m r z q l a b 0 { g 2 8 9 c s u z y x h j 1 3 4 } ; 1 9 3 4 5 7 10 6 p d g";
function decryptcode(%code,%charin,%charout)
{
for(%i=0;%i<getWordCount(%charin);%i++)
%code = strReplace(%code,getWord(%charin,%i),getWord(%charout,%i));
return %code;
}
function encryptcode(%code,%charout,%charin)
{
for(%i=0;%i<getWordCount(%charout);%i++)
%code = strReplace(%code,getWord(%charout,%i),getWord(%charin,%i));
return %code;
}
« Last Edit: December 01, 2011, 09:22:14 PM by cheese6 »

There's a CRC hash generator, that's about it. (you can recreate hashes in TorqueScript anyway)
Pastebinz?
Sounds like it could be of some use.

Or people can just make them lol
One second let me make something.
Code: [Select]
$ExampleCharSet::In  = "10";

Correct me if I am wrong, but I think that could cause problems.

That is called a shift cipher, and it is the most easy to crack encryption ever. EDIT: nor is it a hash.
« Last Edit: December 01, 2011, 10:28:18 PM by Destiny/Zack0Wack0 »

Code: [Select]
-codesnip-
Nevermind.
« Last Edit: December 01, 2011, 11:00:54 PM by Superb »