Re: [MonoTouch] RSA key pair generation

2011-08-26 Thread monojobs
Good point with the SecKeyGeneratePair. My app actually does load different keys into RSACryptoServiceProivder and can encrypt/decrypt and sign/verify fairly fast. It was all about the key generation. I'll take a look at SecKeyGeneratePair and see what I can come up with. I do expect lower

Re: [MonoTouch] RSA key pair generation

2011-08-25 Thread Nic Wise
This could be worth a look: http://iphonedevelopment.blogspot.com/2009/04/crypto-library.html however, it also could be that generating a 2048 bit key is just a LONG operation, which takes a while on a slow CPU how long does it take on the desktop (ie, same code in a commandline app)? On

Re: [MonoTouch] RSA key pair generation

2011-08-25 Thread Sebastien Pouliot
Hello, On Thu, Aug 25, 2011 at 3:16 AM, Nic Wise n...@fastchicken.co.nz wrote: This could be worth a look: http://iphonedevelopment.blogspot.com/2009/04/crypto-library.html That looks like an ObjectiveC wrapper. Since CommonCrypto is a C-based API it would be easier to p/invoke directly.