Artifact ID: | 46e2c4c20a282f6f0102d02b55871b553672f570 |
---|---|
Page Name: | Algorithm and Implementation |
Date: | 2016-06-21 06:34:19 |
Original User: | martin_vahi |
Parent: | 9366d5272ee32e8dc350bd7448371ccd3b649997 (diff) |
Next | dba0e78a97fcf6ffb1c1b50bf40cdf4507c16895 |
The main property, where the Silktorrent differs from the other similar projects is that its algorithm is modular. The modularity of its implementation is at least as granular as its algorithm.
Algorithm
Silktorrent packets are tar-files that have a name that contains the size of the file and at least one cryptogaphically secure hash of that tar-file. The reason, why tar is used in stead of tar.gz, zip, xz, etc. is that multi-TiB files that consist of only regular patterns, may be all zeros or all ones, can be compressed to a very small file and that kind of file can be used for DoS-attacking computers that run software that unpacks the compression result. The Silktorret packet contains folders "header" and "payload". The folder "header" contains a file "salt.txt" or "salt.blob", which slightly salts also the size of the Silktorrent package and allows the same payload to be transported by different Silktorrent packages. The idea is that when one package name is blacklisted by censors, the same payload can be distributed by using a different Silktorrent package.