I need the following BigInt feature in iOS, specifically the ModPowMonty function:
It is the source of all of my application's slowness:
I need the following BigInt feature in iOS, specifically the ModPowMonty function:
It is the source of all of my application's slowness:
iOS does not have any big integer APIs (there are various big integer subsystems used by the OS, but none of them have a public API available to third-party developers). There are various third-party libraries available for this, but I’ve not used any of them enough to give you a specific recommendation.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Seems that Safari offers SimpleCrypto. It has a BigInteger (or should have) one according to W3C.
https://www.w3.org/TR/WebCryptoAPI/#big-integer
What are your thoughts about leveraging this from a Xamarin/iOS app? Or a Mac App?
Seems that Safari offers SimpleCrypto.
Ah, interesting. My previous response assumed that you were looking for a native API.
What are your thoughts about leveraging this …?
I don’t have any direct experience with Web Crypto API, so I can’t offer any input on that.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"