Package com.google.crypto.tink.aead
Class AesEaxParameters.Variant
- java.lang.Object
-
- com.google.crypto.tink.aead.AesEaxParameters.Variant
-
- Enclosing class:
- AesEaxParameters
@Immutable public static final class AesEaxParameters.Variant extends java.lang.ObjectDescribes how the prefix is computed. For AEAD there are three main possibilities: NO_PREFIX (empty prefix), TINK (prefix the ciphertext with 0x01 followed by a 4-byte key id in big endian format) or CRUNCHY (prefix the ciphertext with 0x00 followed by a 4-byte key id in big endian format)
-
-
Field Summary
Fields Modifier and Type Field Description static AesEaxParameters.VariantCRUNCHYstatic AesEaxParameters.VariantNO_PREFIXstatic AesEaxParameters.VariantTINK
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
TINK
public static final AesEaxParameters.Variant TINK
-
CRUNCHY
public static final AesEaxParameters.Variant CRUNCHY
-
NO_PREFIX
public static final AesEaxParameters.Variant NO_PREFIX
-
-