Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SHA224 (0.25 sec)

  1. src/crypto/sha256/sha256.go

    // license that can be found in the LICENSE file.
    
    // Package sha256 implements the SHA224 and SHA256 hash algorithms as defined
    // in FIPS 180-4.
    package sha256
    
    import (
    	"crypto"
    	"crypto/internal/boring"
    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.SHA224, New224)
    	crypto.RegisterHash(crypto.SHA256, New)
    }
    
    // The size of a SHA256 checksum in bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/crypto/crypto.go

    func (h Hash) HashFunc() Hash {
    	return h
    }
    
    func (h Hash) String() string {
    	switch h {
    	case MD4:
    		return "MD4"
    	case MD5:
    		return "MD5"
    	case SHA1:
    		return "SHA-1"
    	case SHA224:
    		return "SHA-224"
    	case SHA256:
    		return "SHA-256"
    	case SHA384:
    		return "SHA-384"
    	case SHA512:
    		return "SHA-512"
    	case MD5SHA1:
    		return "MD5+SHA1"
    	case RIPEMD160:
    		return "RIPEMD-160"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. src/hash/marshal_test.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/notboring.go

    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") }
    func SHA256([]byte) [32]byte { panic("boringcrypto: not available") }
    func SHA384([]byte) [48]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)
  5. src/crypto/internal/boring/hmac.go

    	switch ch {
    	case crypto.MD5:
    		return C._goboringcrypto_EVP_md5()
    	case crypto.MD5SHA1:
    		return C._goboringcrypto_EVP_md5_sha1()
    	case crypto.SHA1:
    		return C._goboringcrypto_EVP_sha1()
    	case crypto.SHA224:
    		return C._goboringcrypto_EVP_sha224()
    	case crypto.SHA256:
    		return C._goboringcrypto_EVP_sha256()
    	case crypto.SHA384:
    		return C._goboringcrypto_EVP_sha384()
    	case crypto.SHA512:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/crypto/internal/boring/sha.go

    		panic("boringcrypto: SHA1 failed")
    	}
    	return
    }
    
    func SHA224(p []byte) (sum [28]byte) {
    	if C._goboringcrypto_gosha224(unsafe.Pointer(&*addr(p)), C.size_t(len(p)), unsafe.Pointer(&*addr(sum[:]))) == 0 {
    		panic("boringcrypto: SHA224 failed")
    	}
    	return
    }
    
    func SHA256(p []byte) (sum [32]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)
  7. src/crypto/rsa/pkcs1v15.go

    	crypto.SHA1:      {0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0e, 0x03, 0x02, 0x1a, 0x05, 0x00, 0x04, 0x14},
    	crypto.SHA224:    {0x30, 0x2d, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05, 0x00, 0x04, 0x1c},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. src/crypto/sha256/sha256_test.go

    		if s != g.out {
    			t.Fatalf("Sum224 function: sha224(%s) = %s want %s", g.in, s, g.out)
    		}
    		c := New224()
    		for j := 0; j < 3; j++ {
    			if j < 2 {
    				io.WriteString(c, g.in)
    			} else {
    				io.WriteString(c, g.in[0:len(g.in)/2])
    				c.Sum(nil)
    				io.WriteString(c, g.in[len(g.in)/2:])
    			}
    			s := fmt.Sprintf("%x", c.Sum(nil))
    			if s != g.out {
    				t.Fatalf("sha224[%d](%s) = %s want %s", j, g.in, s, g.out)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:21:42 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"MD4", Const, 0},
    		{"MD5", Const, 0},
    		{"MD5SHA1", Const, 0},
    		{"PrivateKey", Type, 0},
    		{"PublicKey", Type, 2},
    		{"RIPEMD160", Const, 0},
    		{"RegisterHash", Func, 0},
    		{"SHA1", Const, 0},
    		{"SHA224", Const, 0},
    		{"SHA256", Const, 0},
    		{"SHA384", Const, 0},
    		{"SHA3_224", Const, 4},
    		{"SHA3_256", Const, 4},
    		{"SHA3_384", Const, 4},
    		{"SHA3_512", Const, 4},
    		{"SHA512", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg container/ring, type Ring struct, Value interface{}
    pkg crypto, const MD4 Hash
    pkg crypto, const MD5 Hash
    pkg crypto, const MD5SHA1 Hash
    pkg crypto, const RIPEMD160 Hash
    pkg crypto, const SHA1 Hash
    pkg crypto, const SHA224 Hash
    pkg crypto, const SHA256 Hash
    pkg crypto, const SHA384 Hash
    pkg crypto, const SHA512 Hash
    pkg crypto, func RegisterHash(Hash, func() hash.Hash)
    pkg crypto, method (Hash) Available() bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top