CryptoSys cryptographic software SHA-1 cryptography software

The Secure Hash Algorithm (SHA-1) produces a condensed representation of a message or a data file that can be used by both the transmitter and intended receiver of the message and to verify a digital signature.

SHA-1 is specified in FIPS PUB 180-1 Secure Hash Standard April 1995.

SHA-1 can process a message of up to 2^64 bits (that's very long, by the way) and produces a message digest of 160 bits (20 bytes). The SHA-1 is called secure because it is computationally infeasible to find a message which corresponds to a given message digest, or to find two different messages which produce the same message digest. Any change to a message in transit will, with very high probability, result in a different message digest, and the signature will fail to verify. SHA-1 is preferred over the less-secure MD5 message digest algorithm.

For even greater security, consider using the 256-bit SHA-256 secure hash algorithm.

SHA-1 functions available in CryptoSysTM

The SHA_1Hmac function provides HMAC, a mechanism for message authentication using the SHA-1 cryptographic hash function. For more details, refer to RFC 2104 HMAC: Keyed-Hashing for Message Authentication, Krawczyk, Bellare and Canetti, February 1997.

 


Home | Blowfish | Rijndael AES | DES | Triple DES | SHA-1 | SHA-256 | Random numbers | CryptoSys Manual | Purchase | Cryptography Software Code | Contact us
Copyright © 2002-6 D.I. Management Services Pty Limited ABN 78 083 210 584, Sydney, Australia. All rights reserved.
<www.di-mgt.com.au>   <www.cryptosys.net>