On Wed, 27 Sep 2000, pepito sbazzeguti wrote:
> Hello!
>
> I've found on the net explaination about DES (Data Encryption Standard) and
> I've implemented it in MSX-C.
> Do you think a file de/crypter could be useful?
Sure. An encrypted filesystem would be even better, though ;)
Bye,
main(){int c[4] ,x=4 ,l=getpid() ,i;; for( srand(l);c[ x]=- rand
()%6 ,x-- ;);; for( ;44> x;){ char a[9] ,*p=
"%.1f\n", b[9];x=i=0; gets(a);for (l=4 ;l-- ;)x+=-(a[l] -=48)==
(b[l ]=c[ l]); ;for (l=0;16 >i;l =++i %4)x
+=(b[i/4]+ a[l] ?0:( a[l]=b[i/4] =10)) ;printf(p,x *.1) ;};}
****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****