0.4.0 – Secret derivation, more algorithms, kotlinx-io #49
whyoleg
announced in
Announcements
Replies: 1 comment
-
Incredible release! Thank you @whyoleg! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Features
ByteString
in places whereByteArray
is usedHashFunction
,SignFunction
andVerifyFunction
Sink
andSource
Sink
andSource
Breaking changes
PEM
andDER
toPem
andDer
respectivelyoperations
packagedev.whyoleg.cryptography.operations.hash.Hasher
was moved todev.whyoleg.cryptography.operations.Hasher
dev.whyoleg.cryptography.operations.cipher.*
was moved todev.whyoleg.cryptography.operations.*
dev.whyoleg.cryptography.operations.signature.*
was moved todev.whyoleg.cryptography.operations.*
ReplaceWith
algorithms
packagedev.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.*
ReplaceWith
SymmetricKeySize
was deprecated in favor ofAES.Key.Size
propertiesSignatureVerifier.verifySignature
now throws on invalid signature instead of returningBoolean
SignatureVerifier.tryVerifySignature
is 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
CryptographyException
is no longer used:IllegalStateException
is thrown insteadOther improvements
ServiceLoader
usage 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.
Beta Was this translation helpful? Give feedback.
All reactions