- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
ssecRepHeaders := []string{ "X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm", "X-Minio-Replication-Server-Side-Encryption-Sealed-Key", "X-Minio-Replication-Server-Side-Encryption-Iv", } ssecRep := false for _, header := range ssecRepHeaders { if val := r.Header.Get(header); val != "" { ssecRep = true break } } if !ssecRep || !sourceReplReq {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 39.5K bytes - Viewed (0)