Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 169 for decrypt (0.15 sec)

  1. internal/kms/stub.go

    		KeyID:      req.Name,
    		Version:    0,
    		Plaintext:  []byte("stubplaincharswhichare32bytelong"),
    		Ciphertext: []byte("stubplaincharswhichare32bytelong"),
    	}, nil
    }
    
    // Decrypt is a non-functional stub.
    func (s StubKMS) Decrypt(_ context.Context, req *DecryptRequest) ([]byte, error) {
    	return req.Ciphertext, nil
    }
    
    // MAC is a non-functional stub.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

            byte[] encrypted = encryptCredentials(plaintext);
            return Base64.getEncoder().encodeToString(encrypted);
        }
    
        /**
         * Decrypt credentials from a base64 string
         *
         * @param encryptedString base64 encoded encrypted credentials
         * @return decrypted credentials
         * @throws GeneralSecurityException if decryption fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. cmd/kms-handlers.go

    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	// 2. Verify that we can indeed decrypt the (encrypted) key
    	decryptedKey, err := GlobalKMS.Decrypt(ctx, &kms.DecryptRequest{
    		Name:           key.KeyID,
    		Ciphertext:     key.Ciphertext,
    		AssociatedData: kmsContext,
    	})
    	if err != nil {
    		response.DecryptionErr = err.Error()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

            printStream.accept("  init - wizard to configure encryption (interactive only)");
            printStream.accept("  encrypt - encrypts input");
            printStream.accept("  decrypt - decrypts encrypted input");
            printStream.accept("");
        }
    
        @Override
        protected CommonsCliEncryptOptions copy(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 17:39:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    }
    
                    try {
                        byte[] decrypted = KerberosEncData.decrypt(crypt, serverKey, serverKey.getKeyType());
                        this.encData = new KerberosEncData(decrypted, keysByAlgo);
                    } catch (GeneralSecurityException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. internal/etag/etag_test.go

    		Plaintext: must("6d6cdccb9a7498c871bde8eab2f49141"),
    	},
    }
    
    func TestDecrypt(t *testing.T) {
    	for i, test := range decryptTests {
    		etag, err := Decrypt(test.Key, test.ETag)
    		if err != nil {
    			t.Fatalf("Test %d: failed to decrypt ETag: %v", i, err)
    		}
    		if !Equal(etag, test.Plaintext) {
    			t.Fatalf("Test %d: got '%v' - want '%v'", i, etag, test.Plaintext)
    		}
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. internal/kms/config.go

    	EnvKESServerCA       = "MINIO_KMS_KES_CAPATH"       // Path to file/directory containing CA certificates to verify the KES server certificate
    	EnvKESClientPassword = "MINIO_KMS_KES_KEY_PASSWORD" // Optional password to decrypt an encrypt TLS private key
    )
    
    // Environment variables for static KMS key.
    const (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. internal/crypto/key.go

    	mac.Write([]byte("SSE-etag"))
    	if _, err := sio.Encrypt(&buffer, bytes.NewReader(etag), sio.Config{Key: mac.Sum(nil)}); err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt ETag using object key"))
    	}
    	return buffer.Bytes()
    }
    
    // UnsealETag unseals the etag using the provided object key.
    // It does not try to decrypt the ETag if len(etag) == 16
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. docs/kms/IAM.md

    ```
    
    > You can choose an arbitrary name for the key - instead of `my-minio-key`.
    > Please note that losing the `MINIO_KMS_SECRET_KEY` will cause data loss
    > since you will not be able to decrypt the IAM/configuration data anymore.
    For distributed MinIO deployments, specify the *same* `MINIO_KMS_SECRET_KEY` for each MinIO server process.
    
    At any point in time you can switch from `MINIO_KMS_SECRET_KEY` to a full KMS
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. cmd/bucket-metadata.go

    	_, err = sio.Encrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20})
    	if err != nil {
    		return output, metabytes, err
    	}
    	metabytes, err = json.Marshal(metadata)
    	if err != nil {
    		return output, metabytes, err
    	}
    	return outbuf.Bytes(), metabytes, nil
    }
    
    // decrypt bucket metadata if kms is configured.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top