Enum MacAlgorithm
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
属性
属性 | 类型 | 说明 |
HMAC_MD5 | Enum | |
HMAC_SHA_1 | Enum | |
HMAC_SHA_256 | Enum | |
HMAC_SHA_384 | Enum | |
HMAC_SHA_512 | Enum | |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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` | |"]]