OpenPGP for .NET with improved RSA speed

We are please to announce the release of OpenPGP Library for .NET version which among the other updates provides an improved RSA key generation speed using the underlying platform acceleration.

Until now we relied on the BouncyCastle RSA algorithm implementation which is getting slower when key sizes exceed 2048 bits. For example the average RSA key generation speed of a 4096 bit key using BouncyCastle is in the interval 6~7 seconds on machine with a 12th generation Intel® Core™ i7.

With the new version we utilize the underlying platform hardware acceleration provided through .NET System.Security.Cryptography.RSA and the average key generation speed for a 4096 bit key is under 1 second.

This improvement is available on the following platforms:

  • .NET Framework 4.7.2 and 4.8
  • .NET 5, 6, 7, 8
  • Xamarin