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):2024-12-02。
[null,null,["最后更新时间 (UTC):2024-12-02。"],[[["`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"]]