Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for OAEPOptions (0.34 sec)

  1. src/crypto/rsa/rsa.go

    	xx, ok := x.(*PublicKey)
    	if !ok {
    		return false
    	}
    	return bigIntEqual(pub.N, xx.N) && pub.E == xx.E
    }
    
    // OAEPOptions is an interface for passing options to OAEP decryption using the
    // crypto.Decrypter interface.
    type OAEPOptions struct {
    	// Hash is the hash function that will be used when generating the mask.
    	Hash crypto.Hash
    
    	// MGFHash is the hash function used for MGF1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. api/go1.5.txt

    pkg crypto/elliptic, type CurveParams struct, Name string
    pkg crypto/rsa, method (*PrivateKey) Decrypt(io.Reader, []uint8, crypto.DecrypterOpts) ([]uint8, error)
    pkg crypto/rsa, type OAEPOptions struct
    pkg crypto/rsa, type OAEPOptions struct, Hash crypto.Hash
    pkg crypto/rsa, type OAEPOptions struct, Label []uint8
    pkg crypto/rsa, type PKCS1v15DecryptOptions struct
    pkg crypto/rsa, type PKCS1v15DecryptOptions struct, SessionKeyLen int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  3. src/crypto/rsa/rsa_test.go

    	priv := new(PrivateKey)
    	priv.PublicKey = PublicKey{N: n, E: testEncryptOAEPData[0].e}
    	priv.D = d
    	sha1 := crypto.SHA1
    	sha256 := crypto.SHA256
    
    	out, err := priv.Decrypt(random, in, &OAEPOptions{MGFHash: sha1, Hash: sha256})
    
    	if err != nil {
    		t.Errorf("error: %s", err)
    	} else if !bytes.Equal(out, msg) {
    		t.Errorf("bad result %#v (want %#v)", out, msg)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:55:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ErrDecryption", Var, 0},
    		{"ErrMessageTooLong", Var, 0},
    		{"ErrVerification", Var, 0},
    		{"GenerateKey", Func, 0},
    		{"GenerateMultiPrimeKey", Func, 0},
    		{"OAEPOptions", Type, 5},
    		{"OAEPOptions.Hash", Field, 5},
    		{"OAEPOptions.Label", Field, 5},
    		{"OAEPOptions.MGFHash", Field, 20},
    		{"PKCS1v15DecryptOptions", Type, 5},
    		{"PKCS1v15DecryptOptions.SessionKeyLen", Field, 5},
    		{"PSSOptions", Type, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg crypto/ed25519, type Options struct #31804
    pkg crypto/ed25519, type Options struct, Context string #31804
    pkg crypto/ed25519, type Options struct, Hash crypto.Hash #31804
    pkg crypto/rsa, type OAEPOptions struct, MGFHash crypto.Hash #19974
    pkg crypto/subtle, func XORBytes([]uint8, []uint8, []uint8) int #53021
    pkg crypto/tls, method (*CertificateVerificationError) Error() string #48152
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top