locked
Any class or function like BigInteger::ModPow() for C++/CX developer?

Answers

  • There isn't anything built in, but you should be able to use most any C++ BigInt implementation. A quick search found a few open source ones you can try out: http://www.bing.com/search?q=C%2B%2B+BigInt

    Another option would be to create a Windows Runtime Component which can perform your calculations using the .Net BigInteger class.

    --Rob

    • Marked as answer by willjing Saturday, January 26, 2013 1:22 PM
    Saturday, January 26, 2013 2:44 AM
    Owner

All replies

  • There isn't anything built in, but you should be able to use most any C++ BigInt implementation. A quick search found a few open source ones you can try out: http://www.bing.com/search?q=C%2B%2B+BigInt

    Another option would be to create a Windows Runtime Component which can perform your calculations using the .Net BigInteger class.

    --Rob

    • Marked as answer by willjing Saturday, January 26, 2013 1:22 PM
    Saturday, January 26, 2013 2:44 AM
    Owner
  • I tried some of those open source ones, but they gave different results, tested with BigInteger.modPow of Java. Seems openssl or crypto++ is not ported to RT yet, otherwise we have other options.
    Saturday, January 26, 2013 1:22 PM