Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SHA224 (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top