Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
HashAlgorithm
A Cryptographic hash function to use in EncodingService methods.
Items
| Name | Value | Description |
|---|---|---|
| Blake2b | 0 | Used to compute a 256-bit (32-byte) hash digest using the BLAKE2b algorithm. |
| Blake3 | 1 | Used to compute a 256-bit (32-byte) hash digest using the BLAKE3 algorithm. |
| Md5 | 2 | Used to compute a 128-bit (16-byte) hash digest using the MD5 algorithm. |
| Sha1 | 3 | Used to compute a 160-bit (20-byte) hash digest using the SHA-1 algorithm. |
| Sha256 | 4 | Used to compute a 256-bit (32-byte) hash digest using the SHA256 algorithm. |
Blake2b
Used to compute a 256-bit (32-byte) hash digest using the BLAKE2b algorithm.
| Field | Value |
|---|---|
| value | 0 |
Blake3
Used to compute a 256-bit (32-byte) hash digest using the BLAKE3 algorithm.
| Field | Value |
|---|---|
| value | 1 |
Md5
Used to compute a 128-bit (16-byte) hash digest using the MD5 algorithm.
| Field | Value |
|---|---|
| value | 2 |
Sha1
Used to compute a 160-bit (20-byte) hash digest using the SHA-1 algorithm.
| Field | Value |
|---|---|
| value | 3 |
Sha256
Used to compute a 256-bit (32-byte) hash digest using the SHA256 algorithm.
| Field | Value |
|---|---|
| value | 4 |