This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["side-panel-live", "header", "media-control-panel__front-layer"].forEach(el => { | |
try{document.getElementsByClassName(el)[0].style="display:none;";}catch(e){} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public byte[] autenticacao(byte[] input, SecretKey secret) throws DataLengthException, InvalidCipherTextException { | |
CBCBlockCipher cbcBlockCipher = new CBCBlockCipher(new AESEngine()); | |
//SecureRandom random = new SecureRandom(); | |
BlockCipherPadding bcp = new PKCS7Padding(); | |
PaddedBufferedBlockCipher pbbc = new PaddedBufferedBlockCipher(cbcBlockCipher, bcp); | |
int blockSize = cbcBlockCipher.getBlockSize(); | |
int inputOffset = 0; | |
int inputLength = input.length; | |
int outputOffset = 0; |