ABF — the cubic Frobenius unit test

One randomized unit-liar round in the algebra (ℤ/Nℤ)[X]/(X³ − qX − q), exactly as defined in the preprint.

One round = one random unit z, crypto-random from your browser. The parameter q is never randomized.