This is like the content encryption that has been on the table the whole time (although we never discussed the first hash, why not just use the unhashed string as the key?)
You have to observe that this is not secure though, it is as susceptible to dictionary attacks as your resident PHBs Microsoft Outlook account. And the better that KHKs actually work, the easier it will be to make a dictionary attack against it. But this doesn't really matter since this is more obfuscation then crypto. You cannot be encrypted to perform "hacking" attacks on any data you pass... On Tue, 18 Apr 2000, Scott G. Miller wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Won't take long here, I have class: > > 1) Hash the plaintext key, call it Hx > 2) Hash Hx, call it Hy > 3) Encrypt the data with the first hash. E(Hx)->C > 4) Insert the encrypted data C with key Hy > > Now there is no way to tell what the key for the data was, nor what the > data actually is. Even the node operator cannot access that data. > > In the reverse it works exactly the same > 1) Hash the plaintext key (that we're fetching), Hx > 2) H(Hx)->Hy > 3) Request Hy > 4) Decrypt the received data with Hx. > > This works because no-one but the insertor or requester ever knows what Hx > is, because only he/she knew the correct key name. > > Scott > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.1 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE4/J74pXyM95IyRhURAh5zAKCkJMo5BCoc+ls25xRxaZxytUHIPQCgwx49 > CfQdtsRfBBIdiI+SEKe+KOo= > =IMZL > -----END PGP SIGNATURE----- > > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
