Module scuttlebutt::field::fft

source ·
Expand description

Various number theoretic utility functions used in the library.

Note: This library was adapted from https://github.com/snipsco/rust-threshold-secret-sharing

Traits§

  • This trait indicates that a finite field is suitable for use in radix-N FFT. This means that it must have a power-of-N root of unity for any desired FFT size, i.e., a field element r_p, such that r_p^(N^p) = 1, for a size-3^p FFT. The PHI_EXP constant is the exponent of the largest FFT size supported, and root should return the N^pth root of unity.

Functions§