UseSHA2Fingerprint()

Syntax

UseSHA2Fingerprint()
Description
Register the SHA2 fingerprint plugin for future use. The standard 224-bit, 256-bit, 384-bit and 512-bit variants are supported.

Parameters

None.

Return value

None.

Remarks

From Wikipedia: SHA-2 includes significant changes from its predecessor, SHA-1. In 2005, an algorithm emerged for finding SHA-1 collisions in about 2000-times fewer steps than was previously thought possible. Although (as of 2015) no example of a SHA-1 collision has been published yet, the security margin left by SHA-1 is weaker than intended, and its use is therefore no longer recommended for applications that depend on collision resistance, such as digital signatures. Although SHA-2 bears some similarity to the SHA-1 algorithm, these attacks have not been successfully extended to SHA-2.

Example

  UseSHA2Fingerprint()

  Debug StringFingerprint("yourpassword", #PB_Cipher_SHA2, 512) ; Use SHA2-512 variant

See Also

UseMD5Fingerprint()(), UseSHA1Fingerprint()(), UseSHA3Fingerprint()(), UseCRC32Fingerprint()()
<- UseSHA1Fingerprint() - Cipher Index - UseSHA3Fingerprint() ->