0.4.0 – Secret derivation, more algorithms, kotlinx-io #49
Closed
whyoleg
announced in
Announcements
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Features
ByteStringin places whereByteArrayis usedHashFunction,SignFunctionandVerifyFunctionSinkandSourceSinkandSourceBreaking changes
PEMandDERtoPemandDerrespectivelyoperationspackagedev.whyoleg.cryptography.operations.hash.Hasherwas moved todev.whyoleg.cryptography.operations.Hasherdev.whyoleg.cryptography.operations.cipher.*was moved todev.whyoleg.cryptography.operations.*dev.whyoleg.cryptography.operations.signature.*was moved todev.whyoleg.cryptography.operations.*ReplaceWithalgorithmspackagedev.whyoleg.cryptography.algorithms.digest.*was moved todev.whyoleg.cryptography.algorithms.*dev.whyoleg.cryptography.algorithms.symmetric.*was moved todev.whyoleg.cryptography.algorithms.*dev.whyoleg.cryptography.algorithms.asymmetric.*was moved todev.whyoleg.cryptography.algorithms.*ReplaceWithSymmetricKeySizewas deprecated in favor ofAES.Key.SizepropertiesSignatureVerifier.verifySignaturenow throws on invalid signature instead of returningBooleanSignatureVerifier.tryVerifySignatureis introduced for rare cases when graceful handling is neededencrypt(iv)/decrypt(iv)toencryptWithIv(iv)/decryptWithIv(iv)to be moreexplicit and better distinguish implcit and explict cases
CryptographyExceptionis no longer used:IllegalStateExceptionis thrown insteadOther improvements
ServiceLoaderusage to be optimized by Android R8For more information please consult documentation: https://whyoleg.github.io/cryptography-kotlin/
This discussion was created from the release 0.4.0 – Secret derivation, more algorithms, kotlinx-io.
All reactions