Commit Graph

8 Commits

Author SHA1 Message Date
Rich Wareham
83cf4e347e add a simple README 2010-09-17 12:47:49 +01:00
Rich Wareham
fccbdf1e7c output hex strings in JSON rather than numbers
Apparently the precise precision JavaScript has for storing integers may not
quite be enough. We push this problem downstream by saving the hexadecimal
representation of the key rather than the number itself.
2010-09-17 12:41:26 +01:00
Rich Wareham
0da34485b6 add JSON output option 2010-09-17 12:37:59 +01:00
Rich Wareham
8d638dee51 control generation via command line options
Add options to generate source/sink keys, load the master key from a different
file or to use a specified KSV.
2010-09-17 12:29:57 +01:00
Rich Wareham
f9c6636f8b move the main body into a main() function 2010-09-17 12:05:30 +01:00
Rich Wareham
9ae9ee1cc1 refactoring to allow sink key generation
Some refactoring work to split KSV generation from key generation. This, along
with the addition of a transpose function, allows us to generate sink keys too.
2010-09-17 12:03:41 +01:00
Rich Wareham
13fc32feec add BSD license boilerplate
The irony of asserting copyright on this code is not lost on me. However, it's
become a trigger response whenever I release anything to the world now :).
2010-09-17 11:46:06 +01:00
Rich Wareham
7e55241233 initial import
Initial import of HDCP key generating code. This code only generates a source
key for the moment.
2010-09-17 11:44:34 +01:00