Enum DigestAlgorithm
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
DigestAlgorithm
Selektor algorytmu skrótu.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
Utilities.DigestAlgorithm.MD2
.
Właściwości
Właściwość | Typ | Opis |
MD2 | Enum | algorytm MD2, |
MD5 | Enum | algorytm MD5, |
SHA_1 | Enum | algorytm SHA-1. |
SHA_256 | Enum | algorytm SHA-256, |
SHA_384 | Enum | Algorytm SHA-384 |
SHA_512 | Enum | algorytm SHA-512, |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 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 |"]]