Patent ID: 8670560

Claim:
A method of encrypting a set of two-dimensional (2D) input data, the method comprising: (a) receiving a set of 2D input data, wherein the input data has at least three color space components; (b) outputting an encrypted 2D data set; and (c) in a hardware processor, performing the steps of: (i) providing three different one-dimensional (1D) hash strings H( P ), H( P ) and H(H( P )), wherein the arrows indicate the string reading directions, and (ii) resizing said 1D hash strings to provide an individual 2D hash array for each colour space component of the 2D image data set; (iii) performing a transform operation on the 2D hash array; (iv) generating a binary pseudorandom map based on the transformed 2D hash array; and (v) generating an encrypted 2D data set by performing a logical XOR operation using the binary pseudorandom map and the bit stream version of the 2D input data.