[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] New Software: P2P filesharing designed to use Tor



Hi,
a link goes like this: sdc://|file|sampletextfile.txt|76|5508A134D3CF3F7F01518FDEFE5E1C60B04E8A65|/
  sampletextfile.txt      ->     filename,
  76      ->      filesize
  5508A134D3CF3F7F01518FDEFE5E1C60B04E8A65       ->     roothash

Hashing is done in a tree-style like tiger but a little different with 3 levels of hash: 
   Level 0: roothash
   Level 1: intermediate hash  (nests up to 100 nodes ( Level 2)
   Level 2: hashes 100 kb blocks

Hashing is using SHA-1.
The higher level hash is composed of the hashes of the lower level.
Exception roothash: root-hash is computed by hashing all Level-1 hashes plus appending the filesize.
With this way the filesize is "fixed" and cannot be tricked by malware.


If you give someone a download container you pass over a file which has ascii-content (json), the content looks like:
{"name":"Demo Container","files":[{"relativePath":"2014-01-08 15.52.12.jpg","rootHash":"2950185AC96CCC33F5428A046CAF64BE0D7D2662","fileSize":628079}]}




-----Original Message-----
From: "SecTech" [tech@xxxxxxxxxxx]
Date: 01/06/2015 01:43 PM
To: tor-talk@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [tor-talk] New Software: P2P filesharing designed to use Tor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,
if I give someone a link to a file, are there hash in the link?
how does hashing work in your program and which hashes do it use?
Is your program computing an hash per file or several hashes / macs per
part of an file like torrent with tiger tree hash?


- -- 
SecTech <tech@xxxxxxxxxxx>
GPG-ID: 0x364CFE05

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUrCzOAAoJENR4jiM2TP4F2dQQAKeSzdERQNbeX2ckxVPKevje
8zOkQHvsWR+o6zEKmLVO38rUCcpLnBpsirneCFHXSOybPtL2qq0bLS96mWlONARw
D1l51bwIjZ039WfNiDAiHM9Xj/I0GlM240Za5yUVwcC5QdajsNJauOFerKG3k6Tu
q4hWX/XcP0/+A+ujSoGmZt5qB3G07U/Ggc8JQJy8uBRHgqMZ8vr3UzesBDFR8dBS
WG/nn/ud1D4Kjqyd+E0D4e0VjSEJClI5CYOUvtvA8UfuJB7eurkFYEM9l6PXVc2F
79LE3PtN+UDOEMv8IxGaJvcnRWuXx8OJpFv84Qf9qXfnSe0Y9AjYbfjRB2fPVly5
PGEh3w8H8uCUmRYiP5vXfsMtSSTYtA7lU84HZkGmaocLruHZTjpZ9mozYUam/pru
sUI0HUZgfeTO8fbJVqFQchnjI8IGMHffW/ZKmDFpg65GN5OrueiVWYioUSPmX20t
a37tIH8+yon6BIPfXkQGVC1N/fCK8J3YW4G9akAMpaLuTqyJenIdF8aBtSXx8+RQ
u9LSKkOkH7mEhu6OyVQhm7payv9gxtvIroFV5mElDKzHbYksC2e9NahimbUBB4zP
uogwcDuYtwB8KLPSYZ+AmJ3MNT9EWoJXDAxOoBSyfmZY03S4nRPsIOWz6iWwyZ0n
4JOgjGTpa3XQTGi43i3X
=WsO7
-----END PGP SIGNATURE-----
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk