Enum MacAlgorithm
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Thuật toán Mac
Bộ chọn thuật toán MAC
Thuộc tính
Thuộc tính | Loại | Mô tả |
HMAC_MD5 | Enum | |
HMAC_SHA_1 | Enum | |
HMAC_SHA_256 | Enum | |
HMAC_SHA_384 | Enum | |
HMAC_SHA_512 | Enum | |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 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` | |"]]