Content Hash Key (Freenet)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |subcat=Networking |released= }} Content Hash Key is used on Freenet to link to a specific block of data or a file. It depends upon the contents of the data and ...")
 
(freenet 0.5)
 
Line 7: Line 7:
  
 
It is not possible to update the information behind CHK, and is thus used to transfer data that is unlikely to change (such as multimedia content). It is not normally used to publish media like sites or chat messages.
 
It is not possible to update the information behind CHK, and is thus used to transfer data that is unlikely to change (such as multimedia content). It is not normally used to publish media like sites or chat messages.
 +
 +
==Freenet 0.7==
  
 
The key consists of:
 
The key consists of:
Line 21: Line 23:
  
 
Slash and the name of the file can in some cases not be present.
 
Slash and the name of the file can in some cases not be present.
 +
 +
==Freenet 0.5==
 +
 +
Example key: CHK@hdXaxkwZ9rA8-SidT0AN-bniQlgPAwI,XdCDmBuGsd-ulqbLnZ8v~w
 +
{| class='wikitable'
 +
|-
 +
| CHK
 +
| @
 +
| hdXaxkwZ9rA8-SidT0AN-bniQlgPAwI
 +
| ,
 +
| XdCDmBuGsd-ulqbLnZ8v~w
 +
|-
 +
|
 +
|
 +
| hash (31 characters)
 +
|
 +
| key (22 characters)
 +
|}
  
 
==External link==
 
==External link==

Latest revision as of 08:58, 7 May 2015

File Format
Name Content Hash Key (Freenet)
Ontology

Content Hash Key is used on Freenet to link to a specific block of data or a file. It depends upon the contents of the data and is therefore predictable in advance, if the data is known.

It is not possible to update the information behind CHK, and is thus used to transfer data that is unlikely to change (such as multimedia content). It is not normally used to publish media like sites or chat messages.

[edit] Freenet 0.7

The key consists of:

  • String "CHK@" in the beginning of the key
  • Routing key, needed to find the data on the network
  • Symbol ','
  • Decryption key, needed to decrypt the data once it is downloaded, in this case it is the hash of the file
  • Symbol ','
  • String determining the encryption method
  • Symbol '/'
  • Name of the file

Decryption key is not transferred when the data is being requested or sent via the network, thus it is necessary to already know what the data is in order to decrypt it (somebody needs to have told you the key already).

Slash and the name of the file can in some cases not be present.

[edit] Freenet 0.5

Example key: CHK@hdXaxkwZ9rA8-SidT0AN-bniQlgPAwI,XdCDmBuGsd-ulqbLnZ8v~w

CHK @ hdXaxkwZ9rA8-SidT0AN-bniQlgPAwI , XdCDmBuGsd-ulqbLnZ8v~w
hash (31 characters) key (22 characters)

[edit] External link

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox