- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 69 for decryptKey (0.39 sec)
-
src/crypto/rsa/pkcs1v15_test.go
ciphertext := decodeBase64("fjOVdirUzFoLlukv80dBllMLjXythIf22feqPrNo0YoIjzyzyoMFiLjAc/Y4krkeZ11XFThIrEvw\nkRiZcCq5ng==") _, err := DecryptPKCS1v15(nil, rsaPrivateKey, ciphertext) if err == nil { t.Error("RSA decrypted a message that was too long.") } } func TestUnpaddedSignature(t *testing.T) { msg := []byte("Thu Dec 19 18:06:16 EST 2013\n") // This base64 value was generated with:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 00:16:30 UTC 2022 - 8.6K bytes - Viewed (0) -
internal/crypto/key.go
// may be cryptographically bound to the object's path the same bucket/object as during sealing // must be provided. On success the ObjectKey contains the decrypted sealed key. func (key *ObjectKey) Unseal(extKey []byte, sealedKey SealedKey, domain, bucket, object string) error { var unsealConfig sio.Config switch sealedKey.Algorithm { default:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 19 20:28:10 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go
} return nil } type envelopeTransformer struct { envelopeService kmsservice.Service providerName string stateFunc StateFunc // cache is a thread-safe expiring lru cache which caches decrypted DEKs indexed by their encrypted form. cache *simpleCache apiServerID string } // NewEnvelopeTransformer returns a transformer which implements a KEK-DEK based envelope encryption scheme.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 00:23:50 UTC 2023 - 18.7K bytes - Viewed (0) -
internal/crypto/sse-kms.go
if _, ok := metadata[MetaSealedKeyKMS]; ok { return true } return false } // UnsealObjectKey extracts and decrypts the sealed object key // from the metadata using KMS and returns the decrypted object // key. func (s3 ssekms) UnsealObjectKey(k *kms.KMS, metadata map[string]string, bucket, object string) (key ObjectKey, err error) { if k == nil { return key, Errorf("KMS not configured") }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/config/errors.go
"Please check your certificate", "", ) ErrTLSNoPassword = newErrFn( "Missing TLS password", "Please set the password to environment variable `MINIO_CERT_PASSWD` so that the private key can be decrypted", "", ) ErrNoCertsAndHTTPSEndpoints = newErrFn( "HTTPS specified in endpoints, but no TLS certificate is found on the local machine", "Please add TLS certificate or use HTTP endpoints only",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 18 22:25:32 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
// interfaces {"context.Context", "type Context interface{Deadline() (deadline time.Time, ok bool); Done() <-chan struct{}; Err() error; Value(key any) any}"}, {"crypto.Decrypter", "type Decrypter interface{Decrypt(rand io.Reader, msg []byte, opts DecrypterOpts) (plaintext []byte, err error); Public() PublicKey}"}, {"encoding.BinaryMarshaler", "type BinaryMarshaler interface{MarshalBinary() (data []byte, err error)}"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/crypto/rsa/rsa.go
// interface isn't necessary, there are functions for encrypting/decrypting // with v1.5/OAEP and signing/verifying with v1.5/PSS. If one needs to abstract // over the public key primitive, the PrivateKey type implements the // Decrypter and Signer interfaces from the crypto package. // // Operations involving private keys are implemented using constant-time // algorithms, except for [GenerateKey], [PrivateKey.Precompute], and // [PrivateKey.Validate].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
if ( encrypted ) { try { trunc = this.sealServerHandle.doFinal(trunc); if ( log.isDebugEnabled() ) { log.debug("Decrypted " + Hexdump.toHexString(trunc)); } } catch ( GeneralSecurityException e ) { throw new CIFSException("Failed to decrypt MIC", e); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
src/crypto/tls/ticket.go
return encrypted, nil } // DecryptTicket decrypts a ticket encrypted by [Config.EncryptTicket]. It can // be used as a [Config.UnwrapSession] implementation. // // If the ticket can't be decrypted or parsed, DecryptTicket returns (nil, nil). func (c *Config) DecryptTicket(identity []byte, cs ConnectionState) (*SessionState, error) { ticketKeys := c.ticketKeys(nil) stateBytes := c.decryptTicket(identity, ticketKeys)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
internal/kms/kms.go
Name string // Version is the version of the master used for // decryption. If empty, the latest key version // is used. Version int // Ciphertext is the encrypted data that gets // decrypted. Ciphertext []byte // AssociatedData is the crypto. associated data. // It must match the data used during encryption // or data key generation. AssociatedData Context }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 11.4K bytes - Viewed (0)