public final class com.google.crypto.tink.subtle.EncryptThenAuthenticate implements com.google.crypto.tink.Aead
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.google.crypto.tink.subtle.EncryptThenAuthenticate
  super_class: java.lang.Object
{
  private final com.google.crypto.tink.subtle.IndCpaCipher cipher;
    descriptor: Lcom/google/crypto/tink/subtle/IndCpaCipher;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.google.crypto.tink.Mac mac;
    descriptor: Lcom/google/crypto/tink/Mac;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int macLength;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(com.google.crypto.tink.subtle.IndCpaCipher, com.google.crypto.tink.Mac, int);
    descriptor: (Lcom/google/crypto/tink/subtle/IndCpaCipher;Lcom/google/crypto/tink/Mac;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // com.google.crypto.tink.subtle.EncryptThenAuthenticate this
        start local 1 // com.google.crypto.tink.subtle.IndCpaCipher cipher
        start local 2 // com.google.crypto.tink.Mac mac
        start local 3 // int macLength
         0: .line 43
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 44
            aload 0 /* this */
            aload 1 /* cipher */
            putfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.cipher:Lcom/google/crypto/tink/subtle/IndCpaCipher;
         2: .line 45
            aload 0 /* this */
            aload 2 /* mac */
            putfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.mac:Lcom/google/crypto/tink/Mac;
         3: .line 46
            aload 0 /* this */
            iload 3 /* macLength */
            putfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.macLength:I
         4: .line 47
            return
        end local 3 // int macLength
        end local 2 // com.google.crypto.tink.Mac mac
        end local 1 // com.google.crypto.tink.subtle.IndCpaCipher cipher
        end local 0 // com.google.crypto.tink.subtle.EncryptThenAuthenticate this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lcom/google/crypto/tink/subtle/EncryptThenAuthenticate;
            0    5     1     cipher  Lcom/google/crypto/tink/subtle/IndCpaCipher;
            0    5     2        mac  Lcom/google/crypto/tink/Mac;
            0    5     3  macLength  I
    MethodParameters:
           Name  Flags
      cipher     final
      mac        final
      macLength  

  public static com.google.crypto.tink.Aead newAesCtrHmac(byte[], int, java.lang.String, byte[], int);
    descriptor: ([BILjava/lang/String;[BI)Lcom/google/crypto/tink/Aead;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=8, args_size=5
        start local 0 // byte[] aesCtrKey
        start local 1 // int ivSize
        start local 2 // java.lang.String hmacAlgorithm
        start local 3 // byte[] hmacKey
        start local 4 // int tagSize
         0: .line 53
            new com.google.crypto.tink.subtle.AesCtrJceCipher
            dup
            aload 0 /* aesCtrKey */
            iload 1 /* ivSize */
            invokespecial com.google.crypto.tink.subtle.AesCtrJceCipher.<init>:([BI)V
            astore 5 /* cipher */
        start local 5 // com.google.crypto.tink.subtle.IndCpaCipher cipher
         1: .line 54
            new javax.crypto.spec.SecretKeySpec
            dup
            aload 3 /* hmacKey */
            ldc "HMAC"
            invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
            astore 6 /* hmacKeySpec */
        start local 6 // javax.crypto.spec.SecretKeySpec hmacKeySpec
         2: .line 55
            new com.google.crypto.tink.subtle.PrfMac
            dup
            new com.google.crypto.tink.subtle.PrfHmacJce
            dup
            aload 2 /* hmacAlgorithm */
            aload 6 /* hmacKeySpec */
            invokespecial com.google.crypto.tink.subtle.PrfHmacJce.<init>:(Ljava/lang/String;Ljava/security/Key;)V
            iload 4 /* tagSize */
            invokespecial com.google.crypto.tink.subtle.PrfMac.<init>:(Lcom/google/crypto/tink/prf/Prf;I)V
            astore 7 /* hmac */
        start local 7 // com.google.crypto.tink.Mac hmac
         3: .line 56
            new com.google.crypto.tink.subtle.EncryptThenAuthenticate
            dup
            aload 5 /* cipher */
            aload 7 /* hmac */
            iload 4 /* tagSize */
            invokespecial com.google.crypto.tink.subtle.EncryptThenAuthenticate.<init>:(Lcom/google/crypto/tink/subtle/IndCpaCipher;Lcom/google/crypto/tink/Mac;I)V
            areturn
        end local 7 // com.google.crypto.tink.Mac hmac
        end local 6 // javax.crypto.spec.SecretKeySpec hmacKeySpec
        end local 5 // com.google.crypto.tink.subtle.IndCpaCipher cipher
        end local 4 // int tagSize
        end local 3 // byte[] hmacKey
        end local 2 // java.lang.String hmacAlgorithm
        end local 1 // int ivSize
        end local 0 // byte[] aesCtrKey
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    4     0      aesCtrKey  [B
            0    4     1         ivSize  I
            0    4     2  hmacAlgorithm  Ljava/lang/String;
            0    4     3        hmacKey  [B
            0    4     4        tagSize  I
            1    4     5         cipher  Lcom/google/crypto/tink/subtle/IndCpaCipher;
            2    4     6    hmacKeySpec  Ljavax/crypto/spec/SecretKeySpec;
            3    4     7           hmac  Lcom/google/crypto/tink/Mac;
    Exceptions:
      throws java.security.GeneralSecurityException
    MethodParameters:
               Name  Flags
      aesCtrKey      final
      ivSize         
      hmacAlgorithm  
      hmacKey        final
      tagSize        

  public byte[] encrypt(byte[], byte[]);
    descriptor: ([B[B)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // com.google.crypto.tink.subtle.EncryptThenAuthenticate this
        start local 1 // byte[] plaintext
        start local 2 // byte[] associatedData
         0: .line 73
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.cipher:Lcom/google/crypto/tink/subtle/IndCpaCipher;
            aload 1 /* plaintext */
            invokeinterface com.google.crypto.tink.subtle.IndCpaCipher.encrypt:([B)[B
            astore 3 /* ciphertext */
        start local 3 // byte[] ciphertext
         1: .line 74
            aload 2 /* associatedData */
            astore 4 /* aad */
        start local 4 // byte[] aad
         2: .line 75
            aload 4 /* aad */
            ifnonnull 4
         3: .line 76
            iconst_0
            newarray 8
            astore 4 /* aad */
         4: .line 79
      StackMap locals: byte[] byte[]
      StackMap stack:
            bipush 8
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            ldc 8
            aload 4 /* aad */
            arraylength
            i2l
            lmul
            invokevirtual java.nio.ByteBuffer.putLong:(J)Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.array:()[B
            bipush 8
            invokestatic java.util.Arrays.copyOf:([BI)[B
         5: .line 78
            astore 5 /* aadLengthInBits */
        start local 5 // byte[] aadLengthInBits
         6: .line 80
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.mac:Lcom/google/crypto/tink/Mac;
            iconst_3
            anewarray byte[]
            dup
            iconst_0
            aload 4 /* aad */
            aastore
            dup
            iconst_1
            aload 3 /* ciphertext */
            aastore
            dup
            iconst_2
            aload 5 /* aadLengthInBits */
            aastore
            invokestatic com.google.crypto.tink.subtle.Bytes.concat:([[B)[B
            invokeinterface com.google.crypto.tink.Mac.computeMac:([B)[B
            astore 6 /* macValue */
        start local 6 // byte[] macValue
         7: .line 81
            iconst_2
            anewarray byte[]
            dup
            iconst_0
            aload 3 /* ciphertext */
            aastore
            dup
            iconst_1
            aload 6 /* macValue */
            aastore
            invokestatic com.google.crypto.tink.subtle.Bytes.concat:([[B)[B
            areturn
        end local 6 // byte[] macValue
        end local 5 // byte[] aadLengthInBits
        end local 4 // byte[] aad
        end local 3 // byte[] ciphertext
        end local 2 // byte[] associatedData
        end local 1 // byte[] plaintext
        end local 0 // com.google.crypto.tink.subtle.EncryptThenAuthenticate this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    8     0             this  Lcom/google/crypto/tink/subtle/EncryptThenAuthenticate;
            0    8     1        plaintext  [B
            0    8     2   associatedData  [B
            1    8     3       ciphertext  [B
            2    8     4              aad  [B
            6    8     5  aadLengthInBits  [B
            7    8     6         macValue  [B
    Exceptions:
      throws java.security.GeneralSecurityException
    MethodParameters:
                Name  Flags
      plaintext       final
      associatedData  final

  public byte[] decrypt(byte[], byte[]);
    descriptor: ([B[B)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=3
        start local 0 // com.google.crypto.tink.subtle.EncryptThenAuthenticate this
        start local 1 // byte[] ciphertext
        start local 2 // byte[] associatedData
         0: .line 97
            aload 1 /* ciphertext */
            arraylength
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.macLength:I
            if_icmpge 2
         1: .line 98
            new java.security.GeneralSecurityException
            dup
            ldc "ciphertext too short"
            invokespecial java.security.GeneralSecurityException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 100
      StackMap locals:
      StackMap stack:
            aload 1 /* ciphertext */
            iconst_0
            aload 1 /* ciphertext */
            arraylength
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.macLength:I
            isub
            invokestatic java.util.Arrays.copyOfRange:([BII)[B
            astore 3 /* rawCiphertext */
        start local 3 // byte[] rawCiphertext
         3: .line 102
            aload 1 /* ciphertext */
            aload 1 /* ciphertext */
            arraylength
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.macLength:I
            isub
            aload 1 /* ciphertext */
            arraylength
            invokestatic java.util.Arrays.copyOfRange:([BII)[B
         4: .line 101
            astore 4 /* macValue */
        start local 4 // byte[] macValue
         5: .line 103
            aload 2 /* associatedData */
            astore 5 /* aad */
        start local 5 // byte[] aad
         6: .line 104
            aload 5 /* aad */
            ifnonnull 8
         7: .line 105
            iconst_0
            newarray 8
            astore 5 /* aad */
         8: .line 108
      StackMap locals: byte[] byte[] byte[]
      StackMap stack:
            bipush 8
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            ldc 8
            aload 5 /* aad */
            arraylength
            i2l
            lmul
            invokevirtual java.nio.ByteBuffer.putLong:(J)Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.array:()[B
            bipush 8
            invokestatic java.util.Arrays.copyOf:([BI)[B
         9: .line 107
            astore 6 /* aadLengthInBits */
        start local 6 // byte[] aadLengthInBits
        10: .line 109
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.mac:Lcom/google/crypto/tink/Mac;
            aload 4 /* macValue */
            iconst_3
            anewarray byte[]
            dup
            iconst_0
            aload 5 /* aad */
            aastore
            dup
            iconst_1
            aload 3 /* rawCiphertext */
            aastore
            dup
            iconst_2
            aload 6 /* aadLengthInBits */
            aastore
            invokestatic com.google.crypto.tink.subtle.Bytes.concat:([[B)[B
            invokeinterface com.google.crypto.tink.Mac.verifyMac:([B[B)V
        11: .line 110
            aload 0 /* this */
            getfield com.google.crypto.tink.subtle.EncryptThenAuthenticate.cipher:Lcom/google/crypto/tink/subtle/IndCpaCipher;
            aload 3 /* rawCiphertext */
            invokeinterface com.google.crypto.tink.subtle.IndCpaCipher.decrypt:([B)[B
            areturn
        end local 6 // byte[] aadLengthInBits
        end local 5 // byte[] aad
        end local 4 // byte[] macValue
        end local 3 // byte[] rawCiphertext
        end local 2 // byte[] associatedData
        end local 1 // byte[] ciphertext
        end local 0 // com.google.crypto.tink.subtle.EncryptThenAuthenticate this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   12     0             this  Lcom/google/crypto/tink/subtle/EncryptThenAuthenticate;
            0   12     1       ciphertext  [B
            0   12     2   associatedData  [B
            3   12     3    rawCiphertext  [B
            5   12     4         macValue  [B
            6   12     5              aad  [B
           10   12     6  aadLengthInBits  [B
    Exceptions:
      throws java.security.GeneralSecurityException
    MethodParameters:
                Name  Flags
      ciphertext      final
      associatedData  final
}
SourceFile: "EncryptThenAuthenticate.java"