static BigInt calculateK(Digest digest, BigInt N, BigInt g) { return hashPaddedPair(digest, N, N, g); }