The following links generate a random HDCP source or sink key as a machine-readable JSON object.
Source code available from github.