A128CBC_HS256
Properties
Link copied to clipboard
Link copied to clipboard
Auth tag length. Should we support unauthenticated encryption algorithms, this would be zero.
Link copied to clipboard
For integrated AEAD algorithms, this is the length of the sole key. For bolted-on AEAD algorithms with a dedicated MAC key, such as AES-CBC+HMAC, this is the length of the encryption key plus the length dedicated MAC key.
Link copied to clipboard
for integrated AEAD algorithms, this is zero. For bolted-on AEAD algorithms with a dedicated MAC, this behaves as the name implies
Link copied to clipboard
For integrated AEAD algorithms, this is the length of the sole key. For bolted-on AEAD algorithms with a dedicated MAC key, such as AES-CBC+HMAC, this is the length of the encryption key without the dedicated MAC key.
Link copied to clipboard
Functions
Link copied to clipboard
fun symmetricKeyFromJsonWebKeyBytes( bytes: ByteArray): KmmResult<SymmetricKey<AuthCapability.Authenticated.WithDedicatedMac, NonceTrait, KeyType.WithDedicatedMacKey>>
parses KWE key bytes for this algorithm and converts them to a SymmetricKey.