Hash(tag) means the SHA256d hash of the concatenation of tag and some string.
Numbers are represented as strings using their base 10 representation unless otherwise specified.
Base32 encoding uses the RFC4648 alphabet (Table 3), except lowercase and with no padding.
The netstring encoding of a string is the base 10 representation of the length of the string followed by ":" followed by the string followed by ",".
The netstring encoding of a string is the length of the string followed by ":" followed by the string followed by ",".
The leaf position in a merkle tree identifies a leaf by counting leaves from left to right starting from 0.
...
...
@@ -28,7 +30,7 @@ If you don't already have a convergence secret, get 16 bytes to use as one.
The convergence encryption tag prefix is "allmydata_immutable_content_to_key_with_added_secret_v1+".
Select your Parameters (maxSegmentSize, requiredShares, totalShares).
To encode the parameters for the convergence encryption tag, join the base 10 representation of requiredShares, totalShares, and maxSegmentSize with ",".
To encode the parameters for the convergence encryption tag, join requiredShares, totalShares, and maxSegmentSize with ",".
For example, maxSegmentSize=1024, requiredShares=3, totalShares=10 encodes to "3,10,1024".
The convergence encryption tag is the concatenation of the convergence encryption tag prefix and the netstring encoding of the convergence secret and the netstring encoding of the encoded parameters.
...
...
@@ -119,7 +121,7 @@ The following keys are known:
#. codec_name: The name of the erasure encoding algorithm.
"crs" for all known implementations.
#. codec_params: The main segment size, the required shares, and the total shares.
The values are represented in base 10 and separated by "-".
The values are separated by "-".
#. tail_codec_params: The tail segment size, the required shares, and the total shares.
The representation is the same as for codec_params.