Patent ID: 7899752

Claim:
A computer-implemented method comprising: providing a first digital media stream including one of a video and an image data stream, said first digital media stream including an encoded first content section and a second content section, wherein the first content section comprises a plurality of image frames, each said plurality of image frames further comprising image components; decoding, by a computing device, the encoded first content section; generating, by said computing device, a first encryption key based on the decoded first content section, wherein said generating said first encryption key comprises: calculating, by said computing device, a histogram of an image component for each image frame in the decoded first content section; eliminating image noise by smooth-filtering, by said computing device, each histogram of the image components for each image frame; detecting, by said computing device, a number of peaks in each histogram of the image components for each image frame; arranging, by said computing device, the detected number of peaks in each histogram of the image components for each image frame into a dataset; and generating, by said computing device, a digest of the dataset as said first encryption key; encrypting, by said computing device, the second content section of the first digital media stream using the first encryption key; and providing, by said computing device, a second digital media stream comprising the encoded first content section and the encrypted second content section.