Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CipherOutputStream (1.09 sec)

  1. docs/smb3-features/02-persistent-handles-design.md

            cipher.init(Cipher.ENCRYPT_MODE, encryptionKey);
            
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (CipherOutputStream cos = new CipherOutputStream(baos, cipher);
                 ObjectOutputStream oos = new ObjectOutputStream(cos)) {
                oos.writeObject(handle);
            }
            
            Files.write(file, baos.toByteArray());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top