Ciphertext
sealed interface Ciphertext<A : AuthCapability<out K>, I : NonceTrait, E : SymmetricEncryptionAlgorithm<A, I, K>, K : KeyType>(source)
A generic ciphertext object, referencing the algorithm it was created by.
Inheritors
Types
Link copied to clipboard
class Authenticated<A : AuthCapability.Authenticated<out K>, I : NonceTrait, E : SymmetricEncryptionAlgorithm<A, I, K>, K : KeyType> : Ciphertext<A, I, E, K>
An authenticated ciphertext, i.e. containing an authTag, and, optionally authenticatedData (Additional Authenticated Data)
Link copied to clipboard
class Unauthenticated<I : NonceTrait> : Ciphertext<AuthCapability.Unauthenticated, I, SymmetricEncryptionAlgorithm<AuthCapability.Unauthenticated, I, KeyType.Integrated>, KeyType.Integrated>
An Unauthenticated ciphertext