Enum MacAlgorithm
MacAlgorithm
Selector of MAC algorithm
Properties
Property | Type | Description |
HMAC_MD5 | Enum | |
HMAC_SHA_1 | Enum | |
HMAC_SHA_256 | Enum | |
HMAC_SHA_384 | Enum | |
HMAC_SHA_512 | Enum | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`MacAlgorithm` is used to select the desired MAC (Message Authentication Code) algorithm for secure communication."],["The available options for `MacAlgorithm` are HMAC_MD5, HMAC_SHA_1, HMAC_SHA_256, HMAC_SHA_384, and HMAC_SHA_512, all represented as enumerations."],["These algorithms provide cryptographic hashing functions used for data integrity and authentication."]]],["The `MacAlgorithm` is a selector for choosing a Message Authentication Code (MAC) algorithm. It offers five specific HMAC algorithms: `HMAC_MD5`, `HMAC_SHA_1`, `HMAC_SHA_256`, `HMAC_SHA_384`, and `HMAC_SHA_512`. Each option is represented as an `Enum` type property within the `MacAlgorithm`, each one being a type of MAC hashing. The user can select between these properties.\n"]]