- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isGCMCipher (0.04 sec)
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
* * @return nonce appropriate for the dialect (16 bytes for GCM, 12 bytes for CCM) */ public byte[] generateNonce() { final byte[] nonce = new byte[isGCMCipher() ? 16 : 12]; if (isGCMCipher()) { // SMB 3.1.1 GCM: 96-bit random/fixed + 32-bit counter for guaranteed uniqueness // Fill first 12 bytes with random data secureRandom.nextBytes(nonce);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0)