Skip to content

DevLARLEY/cctv-decrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCTV.com Decrypter

tea_decrypt (func57 in WASM) uses the Tiny Encryption Algorithm (TEA) with 16 cycles and precomputed sums to encrypt a 64-bit block every 80 bytes of a NAL unit (type 1, 5 or 25). The 128 bit key for each NAL unit starts at index 16 and the encrypted data at index 32.

cctv.py decrypts a single ts segment.

Usage

python cctv.py [infile] [outfile]

Credits

  • ts_decrypt.js (TS parser implementation and reference decrypter)

About

Reverse engineered Python implementation of CCTV's TEA H.264 encryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published