hLen
In cryptography, hLen denotes the length, in bytes, of the output produced by a given hash function. It is a parameter used by several PKCS standards and RFCs to describe padding, masking, and signature schemes that depend on a hash digest. For a hash function H, hLen equals the number of bytes in H’s digest.
The value of hLen depends on the chosen hash function. For example, SHA-1 yields hLen of 20
In schemes such as OAEP (Optimal Asymmetric Encryption Padding) and PSS (Probabilistic Signature Scheme) defined in
Notes: The choice of hash function—and thus hLen—affects the maximum message size, padding overhead, and security