Enum DigestAlgorithm
Stay organized with collections
Save and categorize content based on your preferences.
DigestAlgorithm
Selector of Digest algorithm.
To call an enum, you call its parent class, name, and property. For example,
Utilities.DigestAlgorithm.MD2
.
Properties
Property | Type | Description |
MD2 | Enum | MD2 algorithm |
MD5 | Enum | MD5 algorithm |
SHA_1 | Enum | SHA-1 algorithm |
SHA_256 | Enum | SHA-256 algorithm |
SHA_384 | Enum | SHA-384 algorithm |
SHA_512 | Enum | SHA-512 algorithm |
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\u003eDigestAlgorithm\u003c/code\u003e allows you to select a specific hashing algorithm for use within the system.\u003c/p\u003e\n"],["\u003cp\u003eIt is called using the format \u003ccode\u003eUtilities.DigestAlgorithm.[algorithm]\u003c/code\u003e, for example, \u003ccode\u003eUtilities.DigestAlgorithm.MD5\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAvailable algorithms include MD2, MD5, SHA-1, SHA-256, SHA-384, and SHA-512.\u003c/p\u003e\n"]]],[],null,["# Enum DigestAlgorithm\n\nDigestAlgorithm\n\nSelector of Digest algorithm.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nUtilities.DigestAlgorithm.MD2`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|-------------------|\n| `MD2` | `Enum` | MD2 algorithm |\n| `MD5` | `Enum` | MD5 algorithm |\n| `SHA_1` | `Enum` | SHA-1 algorithm |\n| `SHA_256` | `Enum` | SHA-256 algorithm |\n| `SHA_384` | `Enum` | SHA-384 algorithm |\n| `SHA_512` | `Enum` | SHA-512 algorithm |"]]