Cryptographic Token Interface Standard

PKCS#11


SHA-1 digest

The SHA-1 mechanism, denoted CKM_SHA_1, is a mechanism for message digesting, following the Secure Hash Algorithm with a 160-bit message digest defined in FIPS PUB 180-2.

It does not have a parameter.

Constraints on the length of input and output data are summarized in the following table. For single-part digesting, the data and the digest may begin at the same location in memory.

Table 130, SHA-1: Data Length
Function
Input length
Digest length
C_Digest
any
20


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v220