- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for decryptKey (0.39 sec)
-
cmd/kubeadm/app/util/crypto/crypto_test.go
tests := map[string]struct { encryptKey []byte decryptKey []byte data []byte expectDecryptErr bool }{ "can decrypt using the correct key": { encryptKey: key1, decryptKey: key1, data: testData, expectDecryptErr: false, }, "can't decrypt using incorrect key": { encryptKey: key1, decryptKey: key2, data: testData,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 2.4K bytes - Viewed (0) -
internal/kms/conn.go
// The same context must be provided when the generated key // should be decrypted. Therefore, it is the callers // responsibility to remember the corresponding context for // a particular DEK. The context may be nil. GenerateKey(context.Context, *GenerateKeyRequest) (DEK, error) // DecryptKey decrypts the ciphertext with the key referenced // by the key ID. The context must match the context value
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K bytes - Viewed (0) -
internal/kms/kes.go
ctxBytes, err := ctx.MarshalText() if err != nil { return nil, err } return c.client.Encrypt(context.Background(), keyID, plaintext, ctxBytes) } // DecryptKey decrypts the ciphertext with the key at the KES // server referenced by the key ID. The context must match the // context value used to generate the ciphertext.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/security/README.md
- Seal/Unmount one/some master keys. That will lock all SSE-S3 encrypted objects protected by these master keys. All these objects can not be decrypted as long as the key(s) are sealed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Feb 12 00:51:25 UTC 2022 - 13.8K bytes - Viewed (0) -
maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
/** * Collects the output of the settings decrypter. * */ public interface SettingsDecryptionResult { /** * Gets the decrypted server. This is a convenience method to retrieve the first element from {@link #getServers()}. * * @return The decrypted server or {@code null}. */ Server getServer(); /** * Gets the decrypted servers. *
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.1K bytes - Viewed (0) -
cmd/encryption-v1.go
if err != nil { return } // At this point, we have: // // 1. the decrypted part sizes in `sizes` (single element for // single part object) and total decrypted object size `decObjSize` // // 2. the (decrypted) start offset `off` and (decrypted) // length to read `length` // // These are the inputs to the rest of the algorithm below.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 37.1K bytes - Viewed (0) -
maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java
* */ public interface SettingsDecryptionRequest { /** * Gets the servers whose passwords should be decrypted. * * @return The servers to decrypt, never {@code null}. */ List<Server> getServers(); /** * Sets the servers whose passwords should be decrypted. * * @param servers The servers to decrypt, may be {@code null}. * @return This request, never {@code null}.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.9K bytes - Viewed (0) -
src/crypto/cipher/cbc.go
} // newCBCGenericDecrypter returns a BlockMode which encrypts in cipher block chaining // mode, using the given Block. The length of iv must be the same as the // Block's block size. This always returns the generic non-asm decrypter for use in // fuzz testing. func newCBCGenericDecrypter(b Block, iv []byte) BlockMode { if len(iv) != b.BlockSize() { panic("cipher.NewCBCDecrypter: IV length must equal block size") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 03:55:33 UTC 2022 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
} finally { offerDecryptoCipher(cipher); } return decrypted; } public byte[] decrypto(final byte[] data, final Key key) { final Cipher cipher = pollDecryptoCipher(key); byte[] decrypted; try { decrypted = cipher.doFinal(data); } catch (final IllegalBlockSizeException e) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/debugging/inspect/main.go
case strings.HasSuffix(inputFileName, ".zip"): outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip" case strings.Contains(inputFileName, ".enc."): outputFileName = strings.Replace(inputFileName, ".enc.", ".", 1) + ".zip" default: outputFileName = inputFileName + ".decrypted" } // Backup any already existing output file _, err := os.Stat(outputFileName) if err == nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0)