常用方法
常用方法
常用方法
常用方法
private static void FermatFactorizationMethodAttackTest(Rsa rsa, BigInteger openText) { var cipherText = rsa.Encrypt(openText); Assert.Equal(openText, Rsa.FermatFactorizationMethodAttack(cipherText, rsa.PublicKey, rsa.Mod)); }