throws IOException
{
try {
sha256 = MessageDigest.getInstance("SHA-256");
} catch (NoSuchAlgorithmException nsae) {
throw new MakwaException("no native SHA-256");
}
BigInteger mod = MakwaPrivateKey.decodePublic(PUB2048);
MakwaPrivateKey pkey = new MakwaPrivateKey(PRIV2048);
check(mod.equals(pkey.getModulus()));