0.2.0 - New algorithms, Android integration testing
New algorithms
- RSA.PKCS1 (RSAES-PKCS1-v1_5) - supported by JDK, WebCrypto and OpenSSL3 providers #5
- SHA224 - supported by JDK, OpenSSL3 and Apple providers
- SHA3 family - supported by JDK and OpenSSL3 providers
Testing improvements
- Support running tests with BouncyCastle in addition to default JDK provider
- Support running JDK provider tests on Android emulator with API level 21, 27 and 30
- Add ECDSA with
secp256k1curve testing (supported by JDK BouncyCastle and OpenSSL3 providers) #4
General improvements
- Kotlin 1.9.10
- a lot of under the hood changes to improve test coverage and test correctness
Breaking changes
- providers artifacts and package name changes. F.e. for JDK provider:
- maven artifact name changed from
cryptography-jdktocryptography-provider-jdk - package name changed from
dev.whyoleg.cryptography.jdktodev.whyoleg.cryptography.providers.jdk
- maven artifact name changed from
- several classes and annotation changed package name to
dev.whyoleg.cryptographyto simplify hierarchy:CryptographyAlgorithmCryptographyAlgorithmNotFoundExceptionCryptographyProviderCryptographyProviderApiInsecureAlgorithm
- simplified JDK provider with custom provider creation
JdkProviderclass removedjava.security.Provideror it's name can be now directly provided in constructor function- before:
CryptographyProvider.JDK(JdkProvider.Instance(BouncyCastleProvider()))orCryptographyProvider.JDK(JdkProvider.Name("BC")) - now:
CryptographyProvider.JDK(BouncyCastleProvider())orCryptographyProvider.JDK("BC")
- before:
For more information please consult documentation: https://whyoleg.github.io/cryptography-kotlin/