Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewSHA384 (0.09 sec)

  1. src/crypto/sha512/sha512.go

    	d := &digest{function: crypto.SHA512_256}
    	d.Reset()
    	return d
    }
    
    // New384 returns a new hash.Hash computing the SHA-384 checksum.
    func New384() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA384()
    	}
    	d := &digest{function: crypto.SHA384}
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int {
    	switch d.function {
    	case crypto.SHA512_224:
    		return Size224
    	case crypto.SHA512_256:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top