- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for IV (0.01 sec)
-
src/main/java/jcifs/util/SecureCredentialStorage.java
try { // Generate random IV byte[] iv = new byte[GCM_IV_SIZE]; secureRandom.nextBytes(iv); // Setup cipher Cipher cipher = Cipher.getInstance(ENCRYPTION_ALGORITHM); GCMParameterSpec gcmSpec = new GCMParameterSpec(GCM_TAG_SIZE, iv); cipher.init(Cipher.ENCRYPT_MODE, masterKey, gcmSpec);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
internal/crypto/sse-c.go
if !ok { return sealedKey, Errorf("The object metadata is missing the internal sealed key for SSE-C") } // Check whether all extracted values are well-formed iv, err := base64.StdEncoding.DecodeString(b64IV) if err != nil || len(iv) != 32 { return sealedKey, errInvalidInternalIV } if algorithm != SealAlgorithm && algorithm != InsecureSealAlgorithm { return sealedKey, errInvalidInternalSealAlgorithm }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
byte[] iv = new byte[16]; // 128-bit IV byte[] plaintext = "This is test data for AES encryption test".getBytes(); new SecureRandom().nextBytes(key); new SecureRandom().nextBytes(iv); // When SecretKeySpec keySpec = new SecretKeySpec(key, "AES"); IvParameterSpec ivSpec = new IvParameterSpec(iv);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/storage-datatypes_test.go
"src/compress/zlib/reader_test.go", VersionID: "", IsLatest: true, Deleted: false, DataDir: "5e0153cc-621a-4267-8cb6-4919140d53b3", XLV1: false, ModTime: UTCNow(), Size: 3430, Mode: 0x0, Metadata: map[string]string{"X-Minio-Internal-Server-Side-Encryption-Iv": "jIJPsrkkVYYMvc7edBrNl+7zcM7+ZwXqMb/YAjBO/ck=", "X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id": "my-minio-key", "X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key": "IAAfAP2p7ZLv3UpLwBnsKkF2mtWba0qoY42tymK0szRgGvAxBNcXyHXYooe9dQp...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.1K bytes - Viewed (0) -
internal/crypto/error.go
) var ( errMissingInternalIV = Errorf("The object metadata is missing the internal encryption IV") errMissingInternalSealAlgorithm = Errorf("The object metadata is missing the internal seal algorithm") errInvalidInternalIV = Errorf("The internal encryption IV is malformed") errInvalidInternalSealAlgorithm = Errorf("The internal seal algorithm is invalid and not supported") )
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
cmd/handler-utils.go
"X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm", "X-Minio-Internal-Server-Side-Encryption-Iv": "X-Minio-Replication-Server-Side-Encryption-Iv", "X-Minio-Internal-Encrypted-Multipart": "X-Minio-Replication-Encrypted-Multipart", "X-Minio-Internal-Actual-Object-Size": "X-Minio-Replication-Actual-Object-Size",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.4K bytes - Viewed (1) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
assertNotNull(encrypted, "Encrypted long password should not be null"); assertTrue(encrypted.length > plaintext.length, "Encrypted data should be larger due to IV and auth tag"); char[] decrypted = storage.decryptCredentials(encrypted); assertArrayEquals(plaintext, decrypted, "Decrypted long password should match original"); // Clean up
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/generic-handlers_test.go
var containsReservedMetadataTests = []struct { header http.Header shouldFail bool }{ { header: http.Header{"X-Minio-Key": []string{"value"}}, }, { header: http.Header{crypto.MetaIV: []string{"iv"}}, shouldFail: false, }, { header: http.Header{crypto.MetaAlgorithm: []string{crypto.InsecureSealAlgorithm}}, shouldFail: false, }, {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/encryption-v1_test.go
} if kdf, ok := test.metadata[crypto.MetaAlgorithm]; !ok { t.Errorf("Test %d: ServerSideEncryptionKDF must be part of metadata: %v", i, kdf) } if iv, ok := test.metadata[crypto.MetaIV]; !ok { t.Errorf("Test %d: crypto.SSEIV must be part of metadata: %v", i, iv) } if mac, ok := test.metadata[crypto.MetaSealedKeySSEC]; !ok { t.Errorf("Test %d: ServerSideEncryptionKeyMAC must be part of metadata: %v", i, mac) } } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
* The transformation to use for the cipher when using Key objects. * Default is Blowfish to match the algorithm default. * <p> * Note: For better security, consider using "AES/GCM/NoPadding" with proper IV handling. * </p> */ protected String transformation = BLOWFISH; /** * The key to use for encryption/decryption. */ protected String key; /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 15.9K bytes - Viewed (0)