Datatypes

SHA-1 hash

ID sha1hash

DatatypeNot PIIidentifier

Digest of the SHA-1 hash function (160 bits), used for example as a Git object id or a file checksum. SHA-1 is no longer considered collision-resistant. It is written as 40 hexadecimal digits. SHA-1 and RIPEMD-160 digests have the same length, so the value alone does not tell them apart: use the field name or context.

Parent datatype
Hash by field name (generic) hash
Categories
Cryptographic identifiers, Software development
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
SHA1_correct
FTA
HASH.SHA1_HEX
Former IDs
sha1
Quality
95/100 · missing: translation
Metacrafter rules
3 rules (1 by field name, 2 by value)
Supported by tools
Auto-Type, FTA (Fast Text Analysis), Great Expectations Semantic Types Expectations, metacrafter, metacrafterpro

Regular expression

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

Python re syntax.

Examples

ValueDescription
da39a3ee5e6b4b0d3255bfef95601890afd80709SHA-1 hash of the empty string
a9993e364706816aba3e25717850c26c9cd0d89dSHA-1 hash of the string 'abc'
da39a3ee5e6b4b0d3255bfef95601890afd8070 invalidone hex digit short (39 instead of 40)

Child datatypes

IDNameCategoriesCountriesDescription
torrent_info_hash BitTorrent Info Hash (BTIH) internet, identifiers, cryptography global Identifier of a torrent: the hash of the bencoded info dictionary of its .torrent file. Version 1 torrents (BEP 3) use SHA-1, written as...

Sources

Use this record