Results 1 to 16 of 16
Hybrid View
-
26th October 2006 12:06 #1
-
26th October 2006 12:13 #2ignore list:Java,velio,jaredharet,gochev.george,Nit rogeniumQuis custodiet ipsos custodes?
-
26th October 2006 16:30 #3
-
26th October 2006 17:07 #4
Last edited by Valeri; 27th October 2006 at 03:16.
-
28th October 2006 10:55 #5
.
80GB USB2
, .
, .
OS WindowsXPSP2
XP- ... (40GB)
-
28th October 2006 11:10 #6
TrueCrypt .
ignore list:Java,velio,jaredharet,gochev.george,Nit rogeniumQuis custodiet ipsos custodes?
-
10th February 2008 17:55 #7Registered User
Join Date: Apr:2005
Location: Sofia
Posts: 75
, zip- 16 , . ,
-
10th February 2008 18:16 #8Banned
Join Date: Oct:2001
Location: , -5
Posts: 2,637
, .
. , , , . , , , , , , . ( .. ).
, , , , , , , . AES, , , , , .
-
19th February 2008 19:44 #9Banned
Join Date: Oct:2001
Location: , -5
Posts: 2,637
: http://rss.slashdot.org/~r/Slashdot/...172/article.pl
, , -, -:
Code:#include <stdio.h> #include <stdlib.h> void usage() { printf("Stro0ng 1024 bit encryption program. Usage k00lcrypt infile outfile password. Shreds the input file. Run on encrypted file to decrypt, automatically detect"); } int main(int argc, char *argv[]) { const char magic[] = { '\x10', 'd', '\x11', 'u', '\x52', 'm', '\x13', 'b', '\x14', 'u', '\x15', 's', '\x4c', 'e', '\x17', 'r' }; char dna = 0; int rna = 0; /* "1024 bit encryption key", yeah */ char key[128] = {0, }; size_t i; const char *ptr; FILE *in,*out; off_t size, j; if(argc < 4) { usage(); return 1; } /* Calculating the encryption key. It's 1024 bit, so nobody will ever guess it */ for (ptr = argv[3]; *ptr; ptr++) dna ^= (*ptr ^ (ptr - argv[3])); for (i = 0; i < sizeof(key); i++) key[i] = dna ^ magic[i % sizeof(magic)] ^ (char)i; in = fopen(argv[1], "rb"); out = fopen(argv[2], "wb"); printf("Now encryptiong... "); /* Very secure algorithm. It'll take us up to 256 iterations to get your real file */ for (size = 0; (rna = fgetc(in)) != EOF; size++) fputc(rna ^ key[size % sizeof(key)], out); printf("done\n"); fclose(in); fclose(out); printf("now Perfoming shredding ultra secure 10 passes... "); unlink(argv[1]); in = fopen(argv[1], "wb"); for (i = 0; i < 10; i++) { srand((int)(i ^ dna ^ size)); fseek(in, 0, SEEK_SET); for (j = 0; j < size; j++) fputc((char)rand(), in); } fclose(in); printf("done\n"); }




Reply With Quote

...
7th May 2023, 14:24 in