Skip to content

Instantly share code, notes, and snippets.

View akhil7687's full-sized avatar

Akhil akhil7687

  • Bangalore
View GitHub Profile
@akhil7687
akhil7687 / AesHelper.java
Created November 22, 2018 12:01
Exoplayer stream AES Encrypted video from URL
package player;
import java.math.BigInteger;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.Key;
import java.util.Arrays;
import javax.crypto.Cipher;
import javax.crypto.ShortBufferException;