Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

v2.0

Compare
Choose a tag to compare
@AArnott AArnott released this 21 Mar 03:53
· 99 commits to main since this release

Features and fixes

  • More consistent behaviors across platforms error and corner cases.
  • Add support for RSA Zeros padding #43
  • Offer more combinations of crypto algorithms, block modes, and padding #66
  • Removed dependency on Mono.Security (that previously net45 platforms required) #68 #49
  • Perf and reliability improvements for non-CAPI compliant RSA keys on net45 platform. #68 #49
  • More consistent and tolerant handling of leading zeros in RSA private keys #72 #71 #59
  • Fix crypto on Android 6 (Marshmallow) #61
  • BlockLength property works on more platforms #62
  • Offer new LegalKeySizes property #56 #57
  • Crypto provider interfaces no longer need to be disposed #58
  • True streaming encryption/decryption on WinRT (the WinRT API itself lacks it, so PCLCrypto outperforms WinRT) #54

Breaking changes

A recompile is required for callers of PCLCrypto. In a couple minor cases, source code may also need to be changed.

  • Source breaking: a couple crypto providers no longer implement IDisposable, so you may need to remove a call to Dispose or a using statement around the creation expression.
  • Binary breaking: a few method signatures have been modified to increase flexibility in a binary-breaking way.

Issues fixed and pull requests
NuGet Package