Package com.google.crypto.tink.mac
Class PredefinedMacParameters
- java.lang.Object
-
- com.google.crypto.tink.mac.PredefinedMacParameters
-
public final class PredefinedMacParameters extends java.lang.ObjectPre-definedParameterobjects forMac.Note: if you want to keep dependencies small, consider inlining the constants here.
-
-
Field Summary
Fields Modifier and Type Field Description static AesCmacParametersAES_CMACAParametersobject for generating new instances ofCmacKeywith the following parameters: Key size: 32 bytes Tag size: 16 bytes OutputPrefixType: TINKstatic HmacParametersHMAC_SHA256_128BITTAGAParametersobject for generating new instances ofHmacKeywith the following parameters: Key size: 32 bytes Tag size: 16 bytes Hash function: SHA256 OutputPrefixType: TINKstatic HmacParametersHMAC_SHA256_256BITTAGAParametersobject for generating new instances ofHmacKeywith the following parameters: Key size: 32 bytes Tag size: 32 bytes Hash function: SHA256 OutputPrefixType: TINKstatic HmacParametersHMAC_SHA512_256BITTAGAParametersobject for generating new instances ofHmacKeywith the following parameters: Key size: 64 bytes Tag size: 32 bytes Hash function: SHA512 OutputPrefixType: TINKstatic HmacParametersHMAC_SHA512_512BITTAGAParametersobject for generating new instances ofHmacKeywith the following parameters: Key size: 64 bytes Tag size: 64 bytes Hash function: SHA512 OutputPrefixType: TINK
-
-
-
Field Detail
-
HMAC_SHA256_128BITTAG
public static final HmacParameters HMAC_SHA256_128BITTAG
AParametersobject for generating new instances ofHmacKeywith the following parameters:- Key size: 32 bytes
- Tag size: 16 bytes
- Hash function: SHA256
- OutputPrefixType: TINK
-
HMAC_SHA256_256BITTAG
public static final HmacParameters HMAC_SHA256_256BITTAG
AParametersobject for generating new instances ofHmacKeywith the following parameters:- Key size: 32 bytes
- Tag size: 32 bytes
- Hash function: SHA256
- OutputPrefixType: TINK
-
HMAC_SHA512_256BITTAG
public static final HmacParameters HMAC_SHA512_256BITTAG
AParametersobject for generating new instances ofHmacKeywith the following parameters:- Key size: 64 bytes
- Tag size: 32 bytes
- Hash function: SHA512
- OutputPrefixType: TINK
-
HMAC_SHA512_512BITTAG
public static final HmacParameters HMAC_SHA512_512BITTAG
AParametersobject for generating new instances ofHmacKeywith the following parameters:- Key size: 64 bytes
- Tag size: 64 bytes
- Hash function: SHA512
- OutputPrefixType: TINK
-
AES_CMAC
public static final AesCmacParameters AES_CMAC
AParametersobject for generating new instances ofCmacKeywith the following parameters:- Key size: 32 bytes
- Tag size: 16 bytes
- OutputPrefixType: TINK
-
-