Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for md5SHA1Hash (0.28 sec)

  1. src/crypto/tls/key_agreement.go

    	hsha1 := sha1.New()
    	for _, slice := range slices {
    		hsha1.Write(slice)
    	}
    	return hsha1.Sum(nil)
    }
    
    // md5SHA1Hash implements TLS 1.0's hybrid hash function which consists of the
    // concatenation of an MD5 and SHA1 hash.
    func md5SHA1Hash(slices [][]byte) []byte {
    	md5sha1 := make([]byte, md5.Size+sha1.Size)
    	hmd5 := md5.New()
    	for _, slice := range slices {
    		hmd5.Write(slice)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top