static BigInt calculateU(Digest digest, BigInt N, BigInt? A, BigInt? B) { return hashPaddedPair(digest, N, A, B); }