cbuf.put(msgHash); cbuf.putInt(r); NTRUSignerPrng prng = new NTRUSignerPrng(cbuf.array(), params.hashAlg); byte[] o = prng.nextBytes(B); int hi = o[o.length - 1]; hi >>= 8 * B - c;
cbuf.put(msgHash); cbuf.putInt(r); NTRUSignerPrng prng = new NTRUSignerPrng(cbuf.array(), params.hashAlg); byte[] o = prng.nextBytes(B); int hi = o[o.length - 1]; hi >>= 8 * B - c;