Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
hdcp-genkey — Generate HDCP source and sink keys from the leaked master key | Kitploit
Tools/GitHubGitHub/rjw57/hdcp-genkey
Embedded Systems SecurityEncryption/Decryption ToolsReverse EngineeringCryptographyHardware Security
GitHubrjw57/hdcp-genkey

hdcp-genkey

Generate HDCP source and sink keys from the leaked master key

View Repository
162304 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

HDCP Key Generation Example

This script implements a simple version of the HDCP key generation algorithm in Python using the leaked HDCP master key (which is located in master-key.txt).

root@kitploit:~
Usage: generate_key.py [options]

Options:
  -h, --help            show this help message and exit
  -m FILE, --master=FILE
                        load master key from FILE
  -k, --sink            generate a sink key rather than a source key
  --ksv=KSV             use a specific KSV expressed in hexadecimal
  -j, --json            output key and KSV as JSON
  -t, --test            generate source and sink keys and test they work

Examples:

root@kitploit:~
# Generate a sink key with KSV 0x54f0af39a8 and output the result in JSON
./generate_key.py -k --ksv 54f0af39a8 -j

# Generate a source key with a random KSV and output the result in a 
# human-readable form
./generate_key.py

# Run a self-test to make sure the source a sink key generation is consistent
./generate_key.py -t
Download Tool