Class AesCtrUtils


  • public class AesCtrUtils
    extends Object
    Utilities for processing AES GCM encrypted data with AES CTR. This is useful in scenarios such as ranged gets and when re-reading the encrypted input stream.
    • Field Detail

      • MAX_GCM_BLOCKS

        public static final long MAX_GCM_BLOCKS
      • CIPHER_BLOCK_SIZE

        public static final int CIPHER_BLOCK_SIZE
    • Constructor Detail

      • AesCtrUtils

        public AesCtrUtils()
    • Method Detail

      • adjustIV

        public static byte[] adjustIV​(byte[] iv,
                                      long byteOffset)