Functions§
- Return number of chunks given the bit size of chunk. Considers the size of the field.
- Recreate a field element back from output of
decompose
. Assumes big-endian representation indecomposed
- Given an element
F
, break it into chunks where each chunk is ofchunk_bit_size
bits. This is essentially an n-ary representation where n ischunk_bit_size
. Returns big-endian representation.