package com.google.crypto.tink.subtle;

import java.security.GeneralSecurityException;
import java.security.InvalidKeyException;

public final class ChaCha20Poly1305 extends ChaCha20Poly1305Base {
    @Override // com.google.crypto.tink.Aead, com.google.crypto.tink.subtle.ChaCha20Poly1305Base
    public /* bridge */ /* synthetic */ byte[] decrypt(byte[] bArr, byte[] bArr2) throws GeneralSecurityException {
        return super.decrypt(bArr, bArr2);
    }

    @Override // com.google.crypto.tink.Aead, com.google.crypto.tink.subtle.ChaCha20Poly1305Base
    public /* bridge */ /* synthetic */ byte[] encrypt(byte[] bArr, byte[] bArr2) throws GeneralSecurityException {
        return super.encrypt(bArr, bArr2);
    }

    public ChaCha20Poly1305(byte[] bArr) throws GeneralSecurityException {
        super(bArr);
    }

    /* access modifiers changed from: package-private */
    @Override // com.google.crypto.tink.subtle.ChaCha20Poly1305Base
    public ChaCha20Base newChaCha20Instance(byte[] bArr, int i) throws InvalidKeyException {
        return new ChaCha20(bArr, i);
    }
}
