Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewSHA384 (0.48 sec)

  1. src/crypto/internal/boring/notboring.go

    func NewSHA1() hash.Hash   { panic("boringcrypto: not available") }
    func NewSHA224() hash.Hash { panic("boringcrypto: not available") }
    func NewSHA256() hash.Hash { panic("boringcrypto: not available") }
    func NewSHA384() hash.Hash { panic("boringcrypto: not available") }
    func NewSHA512() hash.Hash { panic("boringcrypto: not available") }
    
    func SHA1([]byte) [20]byte   { panic("boringcrypto: not available") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. 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