FreenetWiki : FreenetCHKPages

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2006-04-12 18:58:16 by MatthewToseland

Additions:
These are created by making a hash of the file. This is like a fingerprint of the file: it is generally a lot smaller than the file itself. It should not be possible for two different files to have the same CHK; a CHK uniquely identifies a file (assuming that SHA-256 is not broken!).

Deletions:
These are created by making a hash of the file. This is like a fingerprint of the file: it is generally a lot smaller than the file itself. Although it's possible two files may have the same fingerprint, or hash, it's very unlikely.



Edited on 2006-04-11 16:37:28 by JaQa

Additions:
~1) The first part, SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file.
  1. The second part, bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted).
  2. The third part, AAEA--8, is something to do with settings such as cryptographical algorithms used.

    Deletions:
    ~1) The first part, SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file.
  3. The second part, bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted).
  4. The third part, AAEA--8, is something to do with settings such as cryptographical algorithms used.



    Edited on 2006-04-11 16:36:37 by JaQa

    Additions:
    ~CHK@SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs,bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ,AAEA--8

    Deletions:
    CHK@SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs,bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ,AAEA--8



    Edited on 2006-04-10 21:04:37 by JaQa

    Additions:
    All files within Freenet are identified and requested by a key, in a similar way that normal websites are identified by a domain name. You don't really need to know the technical details to use Freenet; tools such as jSite will sort it all out for you.
Content Hash Keys are for files that aren't going to change. For example: mp3 files. They look something like this:
CHK@SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs,bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ,AAEA--8


Deletions:
All files within Freenet are identified and requested by a key, in a similar way that normal websites are identified by a domain name.
Content Hash Keys are for files that aren't going to change. For example: mp3 files.




Edited on 2006-04-10 21:00:39 by JaQa

Additions:
~1) The third part, AAEA--8, is something to do with settings such as cryptographical algorithms used.

Deletions:
~1) The third part, AAEA--8, is ?



Edited on 2006-04-10 20:48:05 by JaQa

Additions:
This random-looking string is the Content Hash Key (CHK) of the line of text this is a test, and is telling you the address that other people can use to access this file in Freenet. You can see that it consists of three segments, separated by commas:
  1. The first part, SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file.
  2. The second part, bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted).
  3. The third part, AAEA--8, is ?

    Deletions:
    This random-looking string is the Content Hash Key (CHK) of the line of text this is a test, and is telling you the address that other people can use to access this file in Freenet. You can see that it consists of three segments, separated by commas. The first part,
SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file. The second part,
bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted). The third part, AAEA--8, is ?




Edited on 2006-04-10 20:18:28 by JaQa

Additions:
SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file. The second part,
bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted). The third part, AAEA--8, is ?


Deletions:
SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file. The second part,
bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted). The third part,
AAEA--8, is ?




Edited on 2006-04-10 20:18:00 by JaQa

Additions:
This random-looking string is the Content Hash Key (CHK) of the line of text this is a test, and is telling you the address that other people can use to access this file in Freenet. You can see that it consists of three segments, separated by commas. The first part,
SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs, is the actual hash of the file. The second part,
bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ, is the decryption key that unlocks the file (which is stored encrypted). The third part,
AAEA--8, is ?


Deletions:
This random-looking string is the Content Hash Key (CHK) of the line of text this is a test, and is telling you the address that other people can use to access this file in Freenet.



Edited on 2006-04-08 19:56:53 by JaQa

Additions:
This example will add a small text file to Freenet using the Content Hash Key to identify it. We will use the basic telnet interface to Freenet for illustrative purposes but you can use a more featured site creator like jSite.

Deletions:
This example will add a small text file to Freenet using the Content Hash Key to identify it. We will use the basic interface to Freenet for illustrative purposes but you can use a more featured site creator like jSite.



Oldest known version of this page was edited on 2006-04-08 19:55:37 by JaQa []
Page view:

CHK: Content Hash Keys


All files within Freenet are identified and requested by a key, in a similar way that normal websites are identified by a domain name.

Content Hash Keys are for files that aren't going to change. For example: mp3 files.

These are created by making a hash of the file. This is like a fingerprint of the file: it is generally a lot smaller than the file itself. Although it's possible two files may have the same fingerprint, or hash, it's very unlikely.

This hash is used as an index to the file, in a similar way to the address, or URL, or a standard website. The CHK key is generated automatically, so it won't look as user-friendly as a domain name. For user-friendly keys, have a look at KSK pages

Example


This example will add a small text file to Freenet using the Content Hash Key to identify it. We will use the basic interface to Freenet for illustrative purposes but you can use a more featured site creator like jSite.

At the command line, type the following to access Freenet's command line interface:

telnet localhost 2323


You should be presented with a list of options. Type the following and then press Enter:

put:this is a test


after a short while (be patient, it could take a minute or two) it will return this:

URI: freenet:CHK@SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs,bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ,AAEA--8


This random-looking string is the Content Hash Key (CHK) of the line of text this is a test, and is telling you the address that other people can use to access this file in Freenet.

To exit from the telnet interface, press Ctrl-] and press Enter, then type quit and press Enter.

To verify your file exists in Freenet, open a web browser and go to:
http://localhost:8888/CHK@SVbD9~HM5nzf3AX4yFCBc-A4dhNUF5DPJZLL5NX5Brs,bA7qLNJR7IXRKn6uS5PAySjIM6azPFvK~18kSi6bbNQ,AAEA--8
You may get a warning come up at first, but just tell the browser to open it as a plain text page. If all goes well, you should see the text you have just inserted to Freenet.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1181 seconds