4.2.0-beta.4 (2021-03-09)
- Updated the Latest service version to 7.2.
- Added
curve
tocreateKeyOptions
to be used when creating anEC
key. - Deprecated the current
encrypt
anddecrypt
methods in favor of the more flexible overloads that take an{Encrypt|Decrypt}Parameters
and allow passing in algorithm specific parameters. This enables support for the various AES algorithms used in Managed HSM. The deprecated methods continue to function and there's no timeline for their removal. - Added
additionalAuthenticatedData
,iv
, andauthenticationTag
toEncryptResult
in order to support AES encryption and decryption. - Refactored the various cryptography providers and updated the error messages to be clearer and more descriptive.