Hi all,
When i try to execute such simple code:
RSA::PrivateKey priv;
priv.Initialize(randPool, 384);
byte input[48];
memset(input, 255, 48); // if you try "memset(input, 1, 48);" it will be ok
Integer intInput((byte*)input, 48);
Integer intOutput = priv.CalculateRandomizedInverse(randPool, intInput);
i get exception "InvertibleRSAFunction: computational error during private key operation" in InvertibleRSAFunction::CalculateInverse. If i try to use small input number (like memset(input, 1, 48)), it works fine.
i think that code does not satisfy some conditions, but what is it ?
Thanks and regards,
Alexander Pecherin
