Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewSHA512 (0.08 sec)

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

    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") }
    func SHA224([]byte) [28]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/internal/boring/sha.go

    		panic("boringcrypto: SHA384_Final failed")
    	}
    	return append(dst, h.out[:]...)
    }
    
    // NewSHA512 returns a new SHA512 hash.
    func NewSHA512() hash.Hash {
    	h := new(sha512Hash)
    	h.Reset()
    	return h
    }
    
    type sha512Hash struct {
    	ctx C.GO_SHA512_CTX
    	out [512 / 8]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. src/crypto/sha512/sha512.go

    func consumeUint64(b []byte) ([]byte, uint64) {
    	return b[8:], byteorder.BeUint64(b)
    }
    
    // New returns a new hash.Hash computing the SHA-512 checksum.
    func New() hash.Hash {
    	if boring.Enabled {
    		return boring.NewSHA512()
    	}
    	d := &digest{function: crypto.SHA512}
    	d.Reset()
    	return d
    }
    
    // New512_224 returns a new hash.Hash computing the SHA-512/224 checksum.
    func New512_224() hash.Hash {
    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