Is there any popular robust implementation for a finite field in java? (An implementation of prime fields ,i.e. $GF(p)$ might also be good.
2026-03-25 12:14:35.1774440875
On
Java efficient implementation of a finite field (for cryptography use)
1.2k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
On
You can check Rings Java library (http://ringsalgebra.io). It has quite efficient support for Galois fields $GF(p, k)$ (both for small and for arbitrary large $p$).
You could look at Givaro c++ library for finite fields (I used it, and it is quite okay, and source code is accessible), and try to adapt it to java, because for java I am afraid you have nothing analogue. (Last time I looked for this, I found only some buyable library, and for $p=2$ only.)