Enum MacAlgorithm
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\u003cp\u003e\u003ccode\u003eMacAlgorithm\u003c/code\u003e is used to select the desired MAC (Message Authentication Code) algorithm for secure communication.\u003c/p\u003e\n"],["\u003cp\u003eThe available options for \u003ccode\u003eMacAlgorithm\u003c/code\u003e are HMAC_MD5, HMAC_SHA_1, HMAC_SHA_256, HMAC_SHA_384, and HMAC_SHA_512, all represented as enumerations.\u003c/p\u003e\n"],["\u003cp\u003eThese algorithms provide cryptographic hashing functions used for data integrity and authentication.\u003c/p\u003e\n"]]],["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"],null,["# Enum MacAlgorithm\n\nMacAlgorithm\n\nSelector of MAC algorithm \n\n### Properties\n\n| Property | Type | Description |\n|----------------|--------|-------------|\n| `HMAC_MD5` | `Enum` | |\n| `HMAC_SHA_1` | `Enum` | |\n| `HMAC_SHA_256` | `Enum` | |\n| `HMAC_SHA_384` | `Enum` | |\n| `HMAC_SHA_512` | `Enum` | |"]]