---
id: "keccak256hash"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["cryptography"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/keccak256hash"
---

# Keccak-256 hash (`keccak256hash`)

Digest of the original Keccak-256 hash function (256 bits) as used by Ethereum. It differs from the standardized SHA3-256, which uses different padding. It is written as 64 hexadecimal digits. Other 256-bit digests (SHA-256, SHA3-256, BLAKE2b-256, BLAKE3 and Streebog-256) have the same length, so the value alone does not tell them apart: use the field name or context.

- Parent datatype: `hash`
- Personal data (PII): no
- Categories: Cryptographic identifiers (cryptography)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9a-fA-F]{64}$
```

## Examples

- `c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470` — Keccak-256 hash of the empty string
- `4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45` — Keccak-256 hash of the string 'abc'
- `c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47` (invalid example) — one hex digit short (63 instead of 64)

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `keccak256hash` (data, `basic/crypto.yaml`)
- `keccak256hash_by_field` (field, `basic/crypto.yaml`)

## Supported by tools

- `metacrafter`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/SHA-3>
- other: <https://keccak.team/keccak.html>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/keccak256hash.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptography/keccak256hash.yaml>
