Formatting code for Base64


show source only

==Base 64 as used in Freenet==

Freenet uses a variant of Base 64 encoding for its keys to convert a block of bytes (for example a hash) into a URI component.

The encoding we use consists of:
The characters A-Z
The characters a-z
The characters 0-9
The character ~
The character -

This is an unusual variant according to [[http://en.wikipedia.org/wiki/Base_64 wikipedia]], but it is used by other apps than Freenet.

It is implemented in [[http://emu.freenetproject.org/cgi-bin/viewcvs.cgi/trunk/freenet/src/freenet/support/Base64.java?view=log src/freenet/support/Base64.java]].
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki