1. Field of the Invention
The present invention relates to a data encryption method using discrete fractional Hadamard transformation (DFHaT). More particularly, the present invention relates to the data encryption method encrypting a digital image, a digital message or the like with order vectors of DFHaT.
2. Description of the Related Art
Fractional Fourier Transform (FRFT) is a generalization of Fourier Transform, and outputs of FRFT can achieve the mixed time and frequency components of signals. The discrete fractional Fourier Transform (DFRFT) recently has been widely developed because of the important use of FRFT. It can be found that the DFRFTs with DFT Hermite eigenvectors can provide similar results as continuous case by 1996.
Many orthogonal transforms have been successfully and widely used in signal processing. Some of the orthogonal transforms typically include discrete cosine transform (DCT), discrete Hartley transform (DHT) and Hadamard transform. In the known art fractional versions of DFT and DHT can be successfully used in signal processing. Furthermore, Discrete fractional Hartley transform (DFHaT) has currently developed from the discrete Hartley transform.
Various types of the Hartley transform widely used in image-related processing should be well known to a person skilled in the art, and they have been described in many U.S. patents. For example, the related U.S. patents include: U.S. Pat. No. 7,284,026, entitled “Hadamard transformation method and device;” U.S. Pat. No. 7,188,132, entitled “Hadamard transformation method and apparatus;” U.S. Pat. No. 6,009,211, entitled “Hadamard transform coefficient predictor;” U.S. Pat. No. 5,970,172, entitled “Hadamard transform coding/decoding device for image signals;” U.S. Pat. No. 5,905,818, entitled “method of providing a representation of an optical scene by the Walsh-Hadamard transform, and an image sensor implementing the method;” U.S. Pat. No. 5,815,602, entitled “DCT image compression and motion compensation using the hadamard transform;” U.S. Pat. No. 5,805,293, entitled “Hadamard transform coding/decoding method and apparatus for image signals;” U.S. Pat. No. 4,621,337, entitled “transformation circuit for implementing a collapsed Walsh-Hadamard transform;” U.S. Pat. No. 4,549,212, entitled “image processing method using a collapsed Walsh-Hadamard transform;” U.S. Pat. No. 4,210,931, entitled “video player and/or recorder with Hadamard transform.” Each of the above-mentioned U.S. patents is incorporated herein by reference for purposes including, but not limited to, indicating the background of the present invention and illustrating the state of the art.
The discrete Hartley transform may also be used in data encryption or the like. However, there is a need for improving an image encryption method or a data encryption method by using discrete fractional Hadamard transformation. With regard to the problematic aspects naturally occurring during the use of the discrete fractional Hadamard transformation, it cannot provide a better approach to data encryption to reduce the risk of decipherable possibilities.
As is described in greater detail below, the present invention intends to provide a data encryption method using discrete fractional Hadamard transformation. Order parameters employed in data encryption are selected from order vectors of DFHaT, and are applied as a decryption key (e.g. private key). A set of fractions is generated to represent the order parameters of DFHaT in generating the private key in such a way as to mitigate and overcome the above problem.
The primary objective of this invention is to provide a data encryption method using discrete fractional Hadamard transformation. Order parameters used in data encryption are selected from order vectors of DFHaT, and are applied as a private key for decryption. Hence, the data encryption method is successful in utilizing the discrete fractional Hadamard transformation.
Another objective of this invention is to provide the data encryption method using discrete fractional Hadamard transformation. A set of fractions is generated to represent the order parameters of DFHaT in generating the private key. Advantageously, this data encryption method can significantly enhance a degree of reliability in data encryption.
The data encryption method in accordance with an aspect of the present invention includes the steps of:
providing a set of data;
processing the data with discrete fractional Hadamard transformation to generate at least one Hadamard matrix, the Hadamard matrix having eigen vectors corresponding to eigen values formed from fractions;
selecting order parameters from order vectors of the Hadamard matrix;
designating the order parameters as a private key in data encryption.
In a separate aspect of the present invention, further including the step of: designating a set of integers to define numerators and denominators of the fractions which represent the eigen values of the Hadamard matrix.
Further scope of the applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various will become apparent to those skilled in the art from this detailed description.
The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention, and wherein:
A data encryption method using discrete fractional Hadamard transformation in accordance with a preferred embodiment of the present invention can be applied in transmitting image data, processing signals, communication or other related domains without departing from the spirit and the scope of the invention. The discrete fractional Hadamard transformation used herein is known as generalized discrete fractional Hadamard transformation (GDFHaT).
The data encryption method of the preferred embodiment of the present invention includes the step of: providing a set of data which can be selected from digital signals, digital images, digital videos, digital audio, or the like without departing from the spirit and the scope of the invention. In this preferred embodiment, the data of a digital image is exemplified, but not limited, to implement the data encryption method of the present invention. The image data may be preferably stored in a compact disc, a hard disc or other equivalent devices, or may be provided by any convenient manner if desired.
The data encryption method of the preferred embodiment of the present invention further includes the step of: processing the data with discrete fractional Hadamard transformation to generate at least one Hadamard matrix. A normalized Hadamard matrix of order 2n, denoted by Hn, has eigen values and eigen vectors of Hadamard transform. The eigen vectors of Hn, can be normalized in kernel construction and is written as:
z
k=νk/∥νk∥2 (1)
The discrete fractional Hadamard transformation (DFHaT) used herein can be defined by eigen decomposition of Hadamard transform. The eigen decomposition of Hadamard transform can be written in the form of:
where zT denotes the transpose of z.
The α-order of discrete fractional Hadamard transformation can be written as:
where V is a matrix with the eigenvectors as the column vectors, and Λ is a diagonal matrix with its diagonal entries corresponding to the eigen values for each column eigenvectors νk in V.
The DFHaT can be generalized to obtain different fractional powers for the eigen values λk=ejπk of the DHaT matrix. The 2n point 2n×2n GDHaT matrix is in the form of:
H
n,
=V·diag((λ)α1,(λ2)α
where diag(r1, r2, L, rN) is the N×N diagonal matrix whose diagonal elements are r1, r2, L, rN.
It is defined that
To simplify Equation (4), the matrix can be defined as:
Λ
wherein
Equation (4) can be, therefore, rewritten as:
H
n,
=V·Λ
V
T. (7)
Accordingly, 1×2n eigen vectors of Hadamard matrix is obtained.
It will be understood that a set of fractions is generated to represent the order parameters of DFHaT in generating a private key, as best shown in Equation (5).
In a preferred embodiment, a set of integers is designated to define numerators and denominators of the fractions which represent eigen values of Hadamard matrix.
The data encryption method of the preferred embodiment of the present invention yet further includes the step of: selecting order parameters from order vectors of the Hadamard matrix. The 2D-GDFHaT of 2n×2m signal P with order vectors (
P
(
=H
n,
P·H
m,
where Hn,
The data encryption method of the preferred embodiment of the present invention yet further includes the step of: designating the order parameters as the private key in data encryption. A series of the fractions representing eigen values of Hadamard matrix constitutes the private key for data encryption or decryption.
The relationship between the encrypted output image P and the input image R in the encryption process is
P=H
n,
·R·H
m,
Advantageously, the encrypted image P is protected, and can be only decrypted by the private key constructed from the fractions of the eigen values of Hadamard matrix.
In the decryption process, the decrypted image I is
Consequently, the private key selected from the order vectors is successful in decryption of the encoding in the GDFHaT domain. Referring now to
Turning now to
Turning now to
Turning now to
where
In this experiment, δ=0.001 is input in decryption. It appears that the decryption for the encrypted image as shown in
Turning now to
As has been discussed above, the data encryption method in accordance with the present invention can provide the private key having a high degree of reliability in data encryption.
Although the invention has been described in detail with reference to its presently preferred embodiment, it will be understood by one of ordinary skill in the art that various modifications can be made without departing from the spirit and the scope of the invention, as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
096144690 | Nov 2007 | TW | national |