- <init>
Construct from data retrieved, and a key. Do not do full decode. Verify what can
be verified without
- decode
- encode
Encode a block of data to a CHKBlock.
- encodeSplitfileBlock
Encode a splitfile block.
- getBlock
- getClientKey
- decodeNew
Decode the CHK and recover the original data
- decodeNewNoJCA
Decode using Freenet's built in crypto. FIXME remove once Java 1.7 is mandatory.
Note that we assume
- decodeOld
Decode the CHK and recover the original data
- encodeNew
Format: [0-1]: Block hash algorithm [2-34]: HMAC (with cryptokey) of data +
length bytes. [35-36]: L
- encodeNewNoJCA
Encode using Freenet's built in crypto. FIXME remove once Java 1.7 is mandatory.
Note that we assume
- innerEncode