Diff: [root] @ e7c1143bcae | faq | css

my fucking polebrush doesn't understand that

File: hellnet/tech/xxtea [Diff]

diff --git a/hellnet/tech/xxtea b/hellnet/tech/xxtea
index 815db9a..f285219 100644
-- a/hellnet/tech/xxtea
++ b/hellnet/tech/xxtea
@@ -3,8 +3,8 @@ h1. XXTEA address encrypting
Hellnet uses simple, human-readable (well, mostly) links, like this one:

bc. hell://file/14Y6ZQTGF42JB61KX08Q74ZTA0NBMY5FASEG7E2ZG4Q5GWNTJCEZKCB14RXMJQ8573FPPS2888VT116JF5G28RQYAE1RE09Y26G7ZPE?key=X7PQ3TT7GNKVX5VEJBESAY7B85V86VTQR5REXW860HF4T0R86YD&name=Hellnet.hs]

But they have a disadvantage: somebody could modify part of a link and make it unusable, or even worse, make it reference totally different file. Example:

bc. hell://file/14Y6ZQTGF42JB61KX08Q74ZTA0NBMY5FASEG7E2ZG4Q5GWNTJCEZKCB14RXMJQ8573FPPS2888VT116JF5G28RQYAE1RE09Y26G7ZPE?key=X7PQ3TT7GNVKVX5VEJBESAY7B85V86VTQR5REXW860HF4T0R86YD&name=Hellnet.h].

@@ -21,4 +21,4 @@ As an additional bonus, resulting string does not contain any funny characters a
You can get hell-insert to output crypted URIs by using -p key, and you can encrypt any URI with --crypt-only key.

bc. % ./hell-insert --crypt-only 'hell://file/14Y6ZQTGF42JB61KX08Q74ZTA0NBMY5FASEG7E2ZG4Q5GWNTJCEZKCB14RXMJQ8573FPPS2888VT116JF5G28RQYAE1RE09Y26G7ZPE?key=X7PQ3TT7GNKVX5VEJBESAY7B85V86VTQR5REXW860HF4T0R86YD&name=Hellnet.h'
hell://crypt/7T0V608MQDSCA8R3V6SG6H3HFVCXM7ZM63F2GFQC1M1MRFDJGPH9N4KNXA6RF6QHDSP3904JYYHHEGDJCANE3RWWX58VYA9KS4PQVZ5NEYA68MQTZRW2Y8PB75QA293E1S7NEMTHH6MT52S20X4ADCNBB457FHFY8W6RRZQ52MNW7NB8ZXV3ZM9NKW26QHP1V80NF56M7QJ4DVMN15V8RHKYGSWXEQDBE76K36N5MTFCK1K0MRP3NT841YV50Z7SFM134K5V2SNR5P033V9Y7FGZ4CRYPKJ0M9D9XA7VX9ZGW
\ No newline at end of file
hell://crypt/7T0V608MQDSCA8R3V6SG6H3HFVCXM7ZM63F2GFQC1M1MRFDJGPH9N4KNXA6RF6QHDSP3904JYYHHEGDJCANE3RWWX58VYA9KS4PQVZ5NEYA68MQTZRW2Y8PB75QA293E1S7NEMTHH6MT52S20X4ADCNBB457FHFY8W6RRZQ52MNW7NB8ZXV3ZM9NKW26QHP1V80NF56M7QJ4DVMN15V8RHKYGSWXEQDBE76K36N5MTFCK1K0MRP3NT841YV50Z7SFM134K5V2SNR5P033V9Y7FGZ4CRYPKJ0M9D9XA7VX9ZGW

By Alexander Markov on 2013-04-24 13:03:55 +0400 Powered by bitcheese wiki engine