In cryptography, Secure Hash Algorithm 1 (SHA-1) designed by the United States National Security Agency is a cryptographic hash function. A SHA-1 hash value is typically rendered as a hexadecimal number, 40 digits long. SHA-1 produces a 20-byte( 160-bit) hash value known as a message digest.