docs/doc/reference/com/google/android/exoplayer2/upstream/crypto/AesFlushingCipher.html
Package com.google.android.exoplayer2.upstream.crypto
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classAesFlushingCipherextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
A flushing variant of a AES/CTR/NoPadding Cipher.
Unlike a regular Cipher, the update methods of this class are guaranteed to process all of the bytes input (and hence output the same number of bytes).
Constructors | Constructor | Description |
| --- | --- |
| AesFlushingCipher(int mode, byte[] secretKey, long nonce, long offset) |
Deprecated.
|
| AesFlushingCipher(int mode, byte[] secretKey, String nonce, long offset) |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| void | update(byte[] in, int inOffset, int length, byte[] out, int outOffset) |
Deprecated.
|
| void | updateInPlace(byte[] data, int offset, int length) |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public AesFlushingCipher(int mode,
byte[] secretKey,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")nonce,
long offset)
Deprecated.
-
public AesFlushingCipher(int mode,
byte[] secretKey,
long nonce,
long offset)
Deprecated.
-
public void updateInPlace(byte[] data,
int offset,
int length)
Deprecated.
-
public void update(byte[] in,
int inOffset,
int length,
byte[] out,
int outOffset)
Deprecated.