v1.5.2
This release includes several new methods and improvements.
- Method cryptoToBase64 encodes CryptoKey to its plain base64 representation
- Method base64ToCrypto decodes base64 key encoded with cryptoToBase64 method back to CryptoKey representation
- Method encryptKey now supports encryption of nearly all types of keys including, private and public keys of ECDH, ECDSA, RSA-OAEP, RSA-PSS
- Method decryptKey now supports decryption of all keys encrypted with method encryptKey
- Method signKey performs digital signature of cryptographic keys with either ECDSA or RSA-PSS
- Method verifyKey verifies authenticity of the digital signature of a cryptographic key created with the method signKey
- Method derivePassphraseKey derives a cryptographic key from a string