Module saver::utils

source ·

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 in decomposed
  • Given an element F, break it into chunks where each chunk is of chunk_bit_size bits. This is essentially an n-ary representation where n is chunk_bit_size. Returns big-endian representation.

Type Aliases§