CN106330976A - Information encryption and decryption method and device - Google Patents
Information encryption and decryption method and device Download PDFInfo
- Publication number
- CN106330976A CN106330976A CN201610958206.4A CN201610958206A CN106330976A CN 106330976 A CN106330976 A CN 106330976A CN 201610958206 A CN201610958206 A CN 201610958206A CN 106330976 A CN106330976 A CN 106330976A
- Authority
- CN
- China
- Prior art keywords
- color
- image
- value
- information
- color value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000006243 chemical reaction Methods 0.000 abstract description 6
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000005336 cracking Methods 0.000 abstract 1
- 239000003086 colorant Substances 0.000 description 6
- 229910002056 binary alloy Inorganic materials 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 3
- 238000004040 coloring Methods 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 206010038743 Restlessness Diseases 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention provides an information encryption and decryption method and device. The encryption method includes the steps that plaintext information of to-be-encrypted information is obtained; the plaintext information is converted into character codes in a unified mode; the character codes are converted into corresponding digital information; the digital information is converted into at least one group of color values according to a first conversion rule; an image is generated according to the at least one group of color values, and the image is an encryption result of plaintext information encryption. Thus, literal information is converted into the image to encrypt the literal information, imperceptibility of information is enhanced in a transmission process, accordingly a cracker is prevented from decompilation cracking, and data security is improved.
Description
Technical field
The present invention relates to communication technical field, particularly relate to the method and device of a kind of information Encrypt and Decrypt.
Background technology
At present, people increasingly focus on secrecy for its private data, and a lot of people preserve oneself by the form of encryption
Private data.
In prior art, encryption method has a lot, but is all based on the encrypting and decrypting of word class.But, more complicated literary composition
Word also has the moment being decrypted, and the safety of data still can not get ensureing.
Summary of the invention
The problem existed for prior art, embodiments provides the method and device of a kind of information Encrypt and Decrypt,
After solving Word message is encrypted by prior art, or it is transmitted with the formation of word, causes information easy
It is cracked, the technical problem that Information Security can not be guaranteed.
The present invention provides a kind of method that information is encrypted, described method to include:
Obtain the cleartext information of information to be encrypted;
Described cleartext information is converted to character code;
Institute's character code is converted to corresponding digital information;
According to the first transformational rule, described digital information is converted to least one set color value;
Generating image by described least one set color value, described image was adding that described cleartext information is encrypted
Close result.
In such scheme, according to the first transformational rule, described digital information is converted to least one set color value, including:
Determine the numerical value of every group digital information;
Determine the maximum stratum that each color is corresponding, determine institute according to the maximum stratum that corresponding numerical value is corresponding with R color
State the color value of R color, and obtain the first surplus value;
Determine the color value of described G color according to described first surplus value maximum stratum corresponding with G color, and obtain the
Two surplus values;
The color value of described B color is determined based on described second surplus value;
The color value of the color value of described R color, the color value of G color and described B color is combined, obtains at least
One group of (R, G, B) color value;Wherein, described R color is red, and described G color is green, and described B color is blue,
In such scheme, before generating image by described least one set color value, described method also includes:
Numerical value is obscured in reception;
According to described obscure numerical value stochastic generation respective numbers obscure color lump;
Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image.
In such scheme, generate image by described least one set color value, including:
Determine the first datum mark writing described least one set color value;
With described first datum mark as original position, based on the described quantity obscuring color lump and described in obscure color lump described
Writing position in image, writes described image successively by described least one set color value and the described color value obscuring color lump
In.
In such scheme, based on Obfuscating Algorithms determine described in obscure color lump writing position in described image and include:
The quantity often organizing said write position is determined based on the described quantity obscuring numerical value;
Determine the second datum mark of said write position;
With described second datum mark as original position, often group writing position is sequentially distributed in the face corresponding to two groups of color value
Between color lump.
The present invention provides a kind of method that information is deciphered, described method to include:
Reading least one set color value from image, described image is the encrypted result being encrypted cleartext information;
According to the second transformational rule, described least one set color value is converted to digital information;
Described digital information is converted to character code;
Described character code is changed described cleartext information.
In such scheme, according to the second transformational rule, mutually described least one set color value is converted to digital information, including:
Determine the maximum stratum that each color is corresponding, determine the number of described digital information according to formula A=(B*C+G) * C+R
Value A;Wherein, maximum stratum corresponding to described each color is identical, and described R is red, and described G be green, and described B is blueness,
Described C is the maximum stratum that described each color is corresponding.
In such scheme, when described image is obscured have obscure color lump time, from described image read least one set color
Value includes:
Numerical value is obscured in reception, according to the described quantity obscuring color lump obscuring the stochastic generation that numerical value determines;
Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image;
Determine the first datum mark writing described color value;
Travel through described image with described first datum mark for original position, in ergodic process, obscure color lump based on described
Quantity and described obscure color lump writing position in described image skip described in obscure color lump, read described least one set
Color value.
The present invention also provides for the device of a kind of information encryption, and described device includes:
Acquiring unit, for obtaining the cleartext information of information to be encrypted;
First converting unit, for being converted to character code by described cleartext information;
Second converting unit, for being converted to corresponding digital information by described character code;
3rd converting unit, for being converted to least one set color value according to the first transformational rule by described digital information;
Signal generating unit, for generating image by described least one set color value, described image is to be believed described plaintext
The encrypted result that breath is encrypted.
The present invention also provides for the device of a kind of information deciphering, and described device includes:
Reading unit, for reading least one set color value from image, described image is for be encrypted cleartext information
Encrypted result;
4th converting unit, for being converted to digital information according to the second transformational rule by described least one set color value;
5th converting unit, for being converted to character code by described digital information;
6th converting unit, for being converted to described cleartext information by described character code.
The invention provides the method and device of a kind of information Encrypt and Decrypt, described encryption method includes: obtain secret letter to be added
The cleartext information of breath;Character code is converted to by unified for described cleartext information;Institute's character code is converted to corresponding numeral letter
Breath;According to the first transformational rule, described digital information is converted to least one set color value;By described least one set color value
Generating image, described image is the encrypted result being encrypted described cleartext information;So, just Word message is converted to
Image realizes the encryption to Word message, enhances the disguise of information, thus avoid cracker's decompiling in transmitting procedure
Crack, improve the safety of data.
Accompanying drawing explanation
The method flow schematic diagram of the information encryption that Fig. 1 provides for the embodiment of the present invention one;
The method flow schematic diagram of the information deciphering that Fig. 2 provides for the embodiment of the present invention two;
The apparatus structure schematic diagram of the information encryption that Fig. 3 provides for the embodiment of the present invention one;
The apparatus structure schematic diagram of the information deciphering that Fig. 4 provides for the embodiment of the present invention two.
Detailed description of the invention
In order to when adding confidential information, strengthen the disguise of information, it is to avoid information is easily cracked, improve the safety of data
Property, the invention provides the method and device of a kind of information Encrypt and Decrypt, described encryption method includes: obtain information to be encrypted
Cleartext information;Character code is converted to by unified for described cleartext information;Institute's character code is converted to corresponding digital information;Root
According to the first transformational rule, described digital information is converted to least one set color value;Figure is generated by described least one set color value
Picture, described image is the encrypted result being encrypted described cleartext information.
Below by drawings and the specific embodiments, technical scheme is described in further detail.
Embodiment one
The present embodiment provides the method for a kind of information encryption, as it is shown in figure 1, described encryption method includes:
S101, obtains the cleartext information of information to be encrypted.
In this step, before information is encrypted, it is necessary first to obtain the plaintext letter of information to be encrypted, described secret letter to be added
Breath can be to input acquisition by user, it is also possible to is that system directly gives;Described information to be encrypted includes Word message.
S102, is converted to character code by described cleartext information.
In this step, after getting the cleartext information of information to be encrypted, owing to cleartext information has the information of various coding, have
There may be Chinese, English, other words, in order to various countries' word can be transferred to unified coded format, prevent unrest
Code, or identify less than situation, be converted to character code by unified for described cleartext information.
In the present embodiment, described cleartext information specifically transferring base64 coding to, base64 coding requirement is 38
Byte (3*8=24) is converted into the byte (4*6=24) of 46, mends two 0 afterwards, form 8 words before 6
The form of joint.If remaining character is less than 3 bytes, then fill with 0, output character use '=', therefore export after coding
Text end it is possible that 1 or 2 '='.
So, after cleartext information is converted to character code, it will English alphabet occurs, numeral ,+,/,=these characters
Mixed characters string encoding.
S103, is converted to corresponding digital information by institute's character code.
By unified for described cleartext information be converted to character code after, because the present embodiment being need to be converted to character code
Color value come blank map as, therefore this step also need to be converted to character code corresponding digital information, described numeral letter
Breath refers to concrete numerical value.
The present invention is by transferring base64 coding to unicode coding, because the character string of unicode coded format is
One sets unified and unique binary coding, and therefore unicode coding is a piece of digital.
Here, owing to base64 coding is by English alphabet, numeral and+,/,=composition, the most do not exist and be converted
For can be beyond the situation of computer binary system greatest measure 65535 after unicode, therefore, all the coding of unicode be transferred to all
Will be less than 65535.
S104, is converted to phase least one set color value according to the first transformational rule by described digital information.
In this step, after character code is converted to digital information, each character code can corresponding set of number information,
According to the first transformational rule, every group digital information is converted to least one set color value.
Because in Android device, RGB color is typically to be made up of red (R), green (G), blue (B) three kinds of colors, every kind
Color Shi You255Zhong stratum.Therefore, in the present invention it is possible to digital information is showed respectively according to tri-kinds of colors of RGB;
In the present embodiment, it is to realize by digital information being converted to (R, G, B) color value.
Specifically, for one of which digital information, it is first determined the numerical value of described digital information;Determine each color
Corresponding maximum stratum, determines the color value of described R color, and obtains according to the maximum stratum that described numerical value is corresponding with R color
First surplus value;The color value of described G color is determined according to described first residue numerical value maximum stratum corresponding with G color, and
Obtain the second surplus value;The color value of described B color is determined based on described second surplus value.By color value, the G of described R color
The color value of color and the color value of described B color are combined, and obtain (R, G, B) color value.Other group digital informations are permissible
Obtain corresponding (R, G, B) color value after the same method.
The maximum stratum that in this enforcement, each color is corresponding is 255, then just and can often organize numeral with 255 as system
The numerical value of information carries out business and removes, and determines (R, G, B) color value that every group digital information is corresponding.
Such as, when the numerical value of set of number information is 1000, it is achieved utilize 1000 the first remainders obtained divided by 255 to be
235, then the color value of R color is just 235;Business is 3, then the color value of G color is 3;The color value of B color is 0;This group
The color value of (R, G, B) color block be (235,3,0).
As a example by according to this, it may be determined that go out (R, G, B) color value of every group digital information.
S105, generates image by described least one set color value.
In this step, when all of digital information is all converted to accordingly after (R, G, B) color value, size based on image
Corresponding (R, G, B) color value is write in described image.
In the present embodiment, color block corresponding for (R, G, B) color value is represented with a pixel, each (R,
G, B) color block can preserve in a pixel in the picture.
Specifically, it is first determined the size of image, the present embodiment only need to determine the width of image, the length of image
Being that the numerical value according to all digital informations determines, the wide of described image can include 32,64,128,256,512,1024,
Can determine that according to the hobby of oneself width needing to use any image is drawn, if numerical value is the same, the image of selection
The widest, the length of image is the least, otherwise the picture traverse selected is the narrowest, and its length generating image is the biggest.
When after the width determining image, determine the length of image according to formula (1):
L1=A/W (1)
In formula (1), described L1 is the length of image, and described A is the numerical value of digital information;Described W is the width of image.
After the size of image determines, determine the first datum mark of write, be start bit from described first datum mark
Put, utilize Android ColorMatrix corresponding (R, G, B) color value to be write line by line in described image.
The present embodiment is be the first datum mark (0,0) with the upper left corner of described image, line by line will corresponding (R, G, B)
In color value write image.
Write code is particularly as follows: mBitmap.compress (Bitmap.CompressFormat.PNG, 100, fOut);
Such as, the upper left corner is the first datum mark (0,0), the high coordinate of width corresponding to each pixel be (x, y), from initial point (0,
0) start to write, write the end of the first row, start to change and write the second row, until image being write full.
After having write, the image of generation is saved in file, so far, cleartext information generates the work of frame
It is complete.
Certainly, if it is desired to make the image generated increasingly complex, it more difficult to decode, it is also possible to utilize Obfuscating Algorithms to arrange confusing coloration
Block, obscures described in color lump write image.
Specifically, before the color value of (R, G, B) color block is write in described image by size based on image, receive mixed
Confuse numerical value, according to described obscure numerical value stochastic generation respective numbers obscure color lump;Described confusing coloration is determined based on Obfuscating Algorithms
Block writing position in described image.Such as, when obscuring numerical value and being 1, then stochastic generation one obscures color lump.When obscuring number
When value is 2, then stochastic generation two obscures color lump.
So, at this moment generate image by described least one set color value, specifically include:
Determine the first datum mark writing described least one set color value;
With described first datum mark as original position, based on the described quantity obscuring color lump and described in obscure color lump described
Writing position in image, writes described image successively by described least one set color value and the described color value obscuring color lump
In.
Here, based on Obfuscating Algorithms determine described in obscure color lump writing position in described image and include: based on described
The quantity obscuring numerical value determines the quantity often organizing said write position;Determine the second datum mark of said write position;With described
Second datum mark is original position, and often group writing position is sequentially distributed between the color block corresponding to two groups of color value.
Wherein, the second datum mark of said write position be generally first color block corresponding to (R, G, B) color value with
Position between the color block that second (R, G, B) color value is corresponding;Certainly, the second datum mark is it can also be provided that other positions
Point, the position etc. between such as second (R, G, B) color block and the 3rd (R, G, B) color block.
Such as, the second datum mark of writing position is color block corresponding to first (R, G, B) color value and second face
Between (R, G, B) color block that colour is corresponding, when the quantity obscuring numerical value is 2, writing position be respectively as follows: first (R,
G, B) between color block corresponding to color value (R, G, B) color block corresponding with second color value, second color value correspondence
(R, G, B) color block (R, G, B) color block corresponding with the 3rd color value between position.
Specifically, after the writing position and quantity obscuring color lump all determines, it is first determined described (R, G, B) color value
Corresponding color block and the actual numerical value of the described digital information obscuring color lump;Here it is possible to calculate described reality according to formula (2)
Border numerical value:
Q=A* (x+1) (2)
In formula (2), described Q is actual numerical value, and described x is for obscuring numerical value.
After determining actual numerical value, determine the size of image, equally, only need to determine the width of image, image
Length is that the numerical value according to all digital informations determines, the wide of described image can include 32,64,128,256,512,
1024, can determine that according to the hobby of oneself width needing to use any image is drawn, if numerical value is the same, selection
Image is the widest, and the length of image is the least, otherwise the picture traverse selected is the narrowest, and its length generating image is the biggest.
When after the width determining image, determine the length of image according to formula (3):
L2=Q/W (3)
In formula (1), described L2 is the length of image, and described Q is actual numerical value;Described W is the width of image.Here, when
When formula (3) has remainder, then (R, G, B) color value of remainder is set to (255,255,255), in order to as filling occupy-place
Content.
After the size of image determines, determine the first datum mark of write equally, with described first datum mark for rising
Beginning position, utilizes the Android ColorMatrix will corresponding (R, G, B) color value and obscure the color value of color lump and depend on line by line
In the described image of secondary write.Here, it is to be the first datum mark (0,0) with the upper left corner of described image equally.
Write code is particularly as follows: mBitmap.compress (Bitmap.CompressFormat.PNG, 100, fOut);
Such as, it is color block corresponding to first (R, G, B) color value and second by the second datum mark of writing position
Between the color block that (R, G, B) color value is corresponding, when the quantity obscuring numerical value is 2, writing position is respectively as follows: first
Between the color block that color block corresponding to (R, G, B) color value is corresponding with second (R, G, B) color value, second (R, G, B)
Position between the color block that color block corresponding to color value is corresponding with the 3rd (R, G, B) color value.
The two is obscured numerical value and is 1, can represent with (1,1), is the first datum mark (0,0) with the upper left corner, each
The high coordinate of width corresponding to pixel is that (x, y), starts to write from the first datum mark (0,0), and first (R, G, B) color value is write it
After, be then written to a color value obscuring color lump, be then written to second (R, G, B) color value, by second (R, G, B's
After color value writes, write a color value obscuring color lump the most again, the like, write the end of the first row, start to change
Write the second row, until being write by image full.
After having write, the image of generation is saved in file, so far, is mixed with that to obscure the image write work of color lump complete
Become.
In the present embodiment, obscuring numerical value the biggest, the image of generation is the most complicated.
Embodiment two
Corresponding to embodiment one, the present embodiment also provides for the method for a kind of information deciphering, as in figure 2 it is shown, described method bag
Include:
S201, reads least one set color value from image, and described image is the encryption knot being encrypted cleartext information
Really.
In this step, from image, read least one set color value, including: receive and obscure numerical value, obscure number according to described
The quantity obscuring color lump of the stochastic generation that value determines;
Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image;
Determine the first datum mark writing described color value;
Travel through described image with described first datum mark for original position, in ergodic process, obscure color lump based on described
Quantity and described obscure color lump writing position in described image skip described in obscure color lump, read described least one set
Color value.
Specifically, obtaining the length of image, width and the first datum mark, length and width based on described image is from first
Datum mark (0,0) is that original position starts to travel through described image line by line, reads the color value of each (R, G, B) color block.
Obscure color lump if image is provided with, numerical value can be obscured according to receive, obscure numerical value determine according to described
The quantity obscuring color lump;Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image;Traversal is described
During image, based on the writing position in the described quantity obscuring color lump and described image skip described in obscure color lump.
Here, the code reading each (R, G, B) color value is as follows:
Int color=bitmap.getPixel (x, y);// obtain the current colouring information put
Int r=Color.red (color);// analyze the value of R in color
Int g=Color.green (color);// analyze the value of G in color
Int b=Color.blue (color);// analyze the value of B in color
Can obtain each (R, G, B) color value with above code, (x is y) that each (R, G, the B) obtained before is described
The high coordinate of width of pixel, after reading each (R, G, B) color value, is stored in the most initialized by each (R, G, B) color value
In list, and the transcoding after carrying out.If during obtaining color value, the color value having got R, G, B is all 255
Time, then this position of code is placeholder, excludes this value.
If image is not obscured color lump, directly read the most according to the method described above and can obtain corresponding R, G, B) color
Value.
S202, is converted to digital information according to the second transformational rule by described least one set color value.
In this step, after each (R, G, B) color value is all read, will be corresponding according to the second transformational rule
(R, G, B) color value is converted to digital information.
Specifically, it is determined that the maximum stratum that each color is corresponding, calculate the numerical value of described digital information according to formula (4)
A:
A=(B*C+G) * C+R (4)
In the present embodiment, maximum stratum corresponding to described each color is identical, and described C is that described each color is corresponding
Big stratum, RGB color is typically to be made up of red (R), green (G), blue (B) three kinds of colors, each color Shi You255Zhong stratum, also
That is the value of C is 255 in formula (3).After the numerical value of the digital information of each (R, G, B) color value is determined, will
Each group digital information carries out being spliced to form a complete digital information, described digital information is stored to list collection.
In the present embodiment, set unified and unique binary system because the character string of unicode coded format is one
Coding, therefore unicode coding is a piece of digital.So the present embodiment is color value to be converted to unicode coding realize face
Colour is to the conversion of digital information.
S203, is converted to character code by described digital information.
In this step, after getting digital information, in addition it is also necessary to digital information is converted to character code, specifically will
Unicode code conversion is the coding of base64:
Unicode code conversion becomes the coding of base64, and the method for use is as follows:
Using above-mentioned code, the data of return are exactly the character-coded data of Base64.
S204, is converted to described cleartext information by described character code.
In this step, after getting character code, utilize code:
Base64.encodeToString(str.getBytes(),Base64.DEFAULT);
Just the character code of Base64 can be converted to cleartext information.
So, decrypting process is just completed.
Embodiment three
Corresponding to embodiment one, the present embodiment provides the device of a kind of information encryption, as it is shown on figure 3, described device includes:
Acquiring unit the 31, first converting unit the 32, second converting unit the 33, the 3rd converting unit 34 and signal generating unit 35;Wherein,
Described acquiring unit 31 is for obtaining the cleartext information of information to be encrypted.Specifically, before information is encrypted, first
First needing to obtain the plaintext letter of information to be encrypted, described information to be encrypted can be to input acquisition by user, it is also possible to is to be
System directly gives;Described information to be encrypted includes Word message.
After described acquiring unit 31 gets cleartext information, described first converting unit 32 is for by described cleartext information
Unification is converted to character code;Specifically, there is the information of various coding due to cleartext information, it is possible to have Chinese, English, its
His word, in order to transfer various countries' word to unified coded format, prevents mess code, or identify less than feelings
Condition, is converted to character code by unified for described cleartext information.
In the present embodiment, described cleartext information is transferred to base64 coding by the specifically first converting unit 32, and base64 compiles
Code requires 3 octets (3*8=24) to be converted into the byte (4*6=24) of 46, mends two afterwards before 6
0, form the form of 8 bytes.If remaining character is less than 3 bytes, then fill with 0, output character use '=',
Therefore after coding the text end of output it is possible that 1 or 2 '='.
So, after cleartext information is converted to character code, it will English alphabet occurs, numeral ,+,/,=these characters
Mixed characters string encoding.
After cleartext information unification is converted to character code by described first converting unit 32, described second converting unit 33
For described character code is converted to corresponding digital information;Specifically, because the present embodiment being need to turn character code
It is changed to color value carry out blank map and also need character code is converted to corresponding numeral letter as, the most described second converting unit 33
Breath, described digital information refers to concrete numerical value.
The present invention is by transferring base64 coding to unicode coding, because the character string of unicode coded format is
One sets unified and unique binary coding, and therefore unicode coding is a piece of digital.
Here, owing to base64 coding is by English alphabet, numeral and+,/,=composition, the most do not exist and be converted
For can be beyond the situation of computer binary system greatest measure 65535 after unicode, therefore, all the coding of unicode be transferred to all
Will be less than 65535.
After described character code is converted to corresponding digital information by described second converting unit 33, the 3rd converting unit
34 for being converted to (R, G, B) color block accordingly according to the first transformational rule by every quantity word information.
Specifically, in Android device, RGB color is typically to be made up of red (R), green (G), blue (B) three kinds of colors,
Each color Shi You255Zhong stratum.Therefore, in the present invention it is possible to digital information is represented respectively according to tri-kinds of colors of RGB
Come.
Specifically, the 3rd converting unit 34 determines the numerical value of described digital information;3rd converting unit 34 determines every kind of face
The maximum stratum that color is corresponding, determines the color value of described R color, and obtains according to the maximum stratum that described numerical value is corresponding with R color
Take the first residue numerical value;The color of described G color is determined according to described first residue numerical value maximum stratum corresponding with G color
Value, and obtain the second residue numerical value;The color value of described B color is determined based on described second residue numerical value.By described R color
The color value of color value, the color value of G color and described B color is combined, and obtains (R, G, B) color value.Other organize numeral
Information can obtain corresponding (R, G, B) color value after the same method.
The maximum stratum that in this enforcement, each color is corresponding is 255, then just and can often organize numeral with 255 as system
The numerical value of information carries out business and removes, and determines (R, G, B) color value that every group digital information is corresponding.
Such as, when the numerical value of set of number information is 1000, it is achieved utilize 1000 the first remainders obtained divided by 255 to be
235, then the color value of R color is just 235;Business is 3, then the color value of G color is 3;The color value of B color is 0;This group
(R, G, B) color value be (235,3,0).
When every group digital information is converted to accordingly (R, G, B) by described 3rd converting unit 34 according to the first transformational rule
After color value, signal generating unit 35 is for generating image by described least one set color value.Specifically, in the present embodiment, by one
Individual (R, G, B) color block represents with a pixel, and each (R, G, B) color block can preserve a pixel in the picture
In.
Specifically, first signal generating unit 35 determines the size of image, only need to determine the width of image in the present embodiment,
The length of image is that the numerical value according to all digital informations determines, the wide of described image can include 32,64,128,256,
512,1024, can determine that according to the hobby of oneself width needing to use any image is drawn, if numerical value is the same, choosing
The image selected is the widest, and the length of image is the least, otherwise the picture traverse selected is the narrowest, and its length generating image is the biggest.
When after the width determining image, signal generating unit 35 determines the length of image according to formula (1):
L1=A/W (1)
In formula (1), described L1 is the length of image, and described A is the numerical value of digital information;Described W is the width of image.
After the size of image determines, determine the first datum mark of write, be start bit from described first datum mark
Put, utilize Android ColorMatrix corresponding (R, G, B) color value to be write line by line in described image.
The present embodiment is be the first datum mark (0,0) with the upper left corner of described image, line by line will corresponding (R, G, B)
In color value write image.
Write code is particularly as follows: mBitmap.compress (Bitmap.CompressFormat.PNG, 100, fOut);
Such as, the upper left corner is the first datum mark (0,0), the high coordinate of width corresponding to each pixel be (x, y), from initial point (0,
0) start to write, write the end of the first row, start to change and write the second row, until image being write full.
After having write, the image of generation is saved in file, so far, cleartext information generates the work of frame
It is complete.
Certainly, if it is desired to make the image generated increasingly complex, it more difficult to decode, it is also possible to utilize Obfuscating Algorithms to arrange confusing coloration
Block, obscures described in color lump write image.
Specifically, before the color value of (R, G, B) color block is write in described image by size based on image, receive mixed
Confuse numerical value, according to described obscure numerical value stochastic generation respective numbers obscure color lump;Described confusing coloration is determined based on Obfuscating Algorithms
Block writing position in described image.Such as, when obscuring numerical value and being 1, then stochastic generation one obscures color lump.When obscuring number
When value is 2, then stochastic generation two obscures color lump.
So, at this moment generate image by described least one set color value, specifically include:
Determine the first datum mark writing described least one set color value;
With described first datum mark as original position, based on the described quantity obscuring color lump and described in obscure color lump described
Writing position in image, writes described image successively by described least one set color value and the described color value obscuring color lump
In.
Here, based on Obfuscating Algorithms determine described in obscure color lump writing position in described image and include: based on described
The quantity obscuring numerical value determines the quantity often organizing said write position;Determine the second datum mark of said write position;With described
Second datum mark is original position, and often group writing position is sequentially distributed between the color block corresponding to two groups of color value.
Wherein, the second datum mark of said write position be generally first color block corresponding to (R, G, B) color value with
Position between the color block that second (R, G, B) color value is corresponding;Certainly, the second datum mark is it can also be provided that other positions
Point, the position etc. between such as second (R, G, B) color block and the 3rd (R, G, B) color block.
Such as, the second datum mark of writing position is color block corresponding to first (R, G, B) color value and second face
Between (R, G, B) color block that colour is corresponding, when the quantity obscuring numerical value is 2, writing position be respectively as follows: first (R,
G, B) between color block corresponding to color value (R, G, B) color block corresponding with second color value, second color value correspondence
(R, G, B) color block (R, G, B) color block corresponding with the 3rd color value between position.
Specifically, after the writing position and quantity obscuring color lump all determines, it is first determined described (R, G, B) color value
Corresponding color block and the actual numerical value of the described digital information obscuring color lump;Here it is possible to calculate described reality according to formula (2)
Border numerical value:
Q=A* (x+1) (2)
In formula (2), described Q is actual numerical value, and described x is for obscuring numerical value.
After determining actual numerical value, determine the size of image, equally, only need to determine the width of image, image
Length is that the numerical value according to all digital informations determines, the wide of described image can include 32,64,128,256,512,
1024, can determine that according to the hobby of oneself width needing to use any image is drawn, if numerical value is the same, selection
Image is the widest, and the length of image is the least, otherwise the picture traverse selected is the narrowest, and its length generating image is the biggest.
When after the width determining image, determine the length of image according to formula (3):
L2=Q/W (3)
In formula (1), described L2 is the length of image, and described Q is actual numerical value;Described W is the width of image.Here, when
When formula (3) has remainder, then (R, G, B) color value of remainder is set to (255,255,255), in order to as filling occupy-place
Content.
After the size of image determines, determine the first datum mark of write equally, with described first datum mark for rising
Beginning position, utilizes the Android ColorMatrix will corresponding (R, G, B) color value and obscure the color value of color lump and depend on line by line
In the described image of secondary write.Here, it is to be the first datum mark (0,0) with the upper left corner of described image equally.
Write code is particularly as follows: mBitmap.compress (Bitmap.CompressFormat.PNG, 100, fOut);
Such as, it is color block corresponding to first (R, G, B) color value and second by the second datum mark of writing position
Between the color block that (R, G, B) color value is corresponding, when the quantity obscuring numerical value is 2, writing position is respectively as follows: first
Between the color block that color block corresponding to (R, G, B) color value is corresponding with second (R, G, B) color value, second (R, G, B)
Position between the color block that color block corresponding to color value is corresponding with the 3rd (R, G, B) color value.
The two is obscured numerical value and is 1, can represent with (1,1), is the first datum mark (0,0) with the upper left corner, each
The high coordinate of width corresponding to pixel is that (x, y), starts to write from the first datum mark (0,0), and first (R, G, B) color value is write it
After, be then written to a color value obscuring color lump, be then written to second (R, G, B) color value, by second (R, G, B's
After color value writes, write a color value obscuring color lump the most again, the like, write the end of the first row, start to change
Write the second row, until being write by image full.
After having write, the image of generation is saved in file, so far, is mixed with that to obscure the image write work of color lump complete
Become.
Embodiment four
Corresponding to embodiment two, the present embodiment also provides for the device of a kind of information deciphering, as shown in Figure 4, described device bag
Include: read unit the 41, the 4th converting unit the 42, the 5th converting unit 43 and the 6th converting unit 44;Wherein,
Described reading unit 41 is for reading least one set color value from image, and described image is for carry out cleartext information
The encrypted result of encryption.
Described reading unit 41 reads least one set color value from image, including: described reading unit 41 receives to be obscured
Numerical value, according to the described quantity obscuring color lump obscuring the stochastic generation that numerical value determines;
Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image;
Determine the first datum mark writing described color value;
Travel through described image with described first datum mark for original position, in ergodic process, obscure color lump based on described
Quantity and described obscure color lump writing position in described image skip described in obscure color lump, read described least one set
Color value.
Specifically, described reading unit 41 obtains the length of image, width and the first datum mark, length based on described image
Degree and width are that original position starts to travel through described image line by line from the first datum mark (0,0), read each (R, G, B) color block
Color value.
Obscure color lump if image is provided with, numerical value can be obscured according to receive, obscure numerical value determine according to described
The quantity obscuring color lump;Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image;Traversal is described
During image, based on the writing position in the described quantity obscuring color lump and described image skip described in obscure color lump.
Here, the code reading each (R, G, B) color value is as follows:
Int color=bitmap.getPixel (x, y);// obtain the current colouring information put
Int r=Color.red (color);// analyze the value of R in color
Int g=Color.green (color);// analyze the value of G in color
Int b=Color.blue (color);// analyze the value of B in color
Can obtain each (R, G, B) color value with above code, (x is y) that each (R, G, the B) obtained before is described
The high coordinate of width of pixel, after reading each (R, G, B) color value, is stored in the most initialized by each (R, G, B) color value
In list, and the transcoding after carrying out.If during obtaining color value, the color value having got R, G, B is all 255
Time, then this position of code is placeholder, excludes this value.
If image is not obscured color lump, directly read the most according to the method described above and can obtain corresponding R, G, B) color
Value.
After the color value of corresponding (R, G, B) color block gets, the 4th converting unit 42 is for according to the
Corresponding (R, G, B) color value is converted to digital information by two transformational rulees.
Specifically, it is determined that the maximum stratum that each color is corresponding, the 4th converting unit 42 calculates described according to formula (4)
The numerical value A of digital information:
A=(B*C+G) * C+R (4)
In the present embodiment, maximum stratum corresponding to described each color is identical, and described C is that described each color is corresponding
Big stratum, RGB color is typically to be made up of red (R), green (G), blue (B) three kinds of colors, each color Shi You255Zhong stratum, also
That is the value of C is 255 in formula (3).After the numerical value of the digital information of each (R, G, B) color value is determined, will
Each group digital information carries out being spliced to form a complete digital information, described digital information is stored to list collection.
In the present embodiment, set unified and unique binary system because the character string of unicode coded format is one
Coding, therefore unicode coding is a piece of digital.So the present embodiment is color value to be converted to unicode coding realize face
Colour is to the conversion of digital information.
After getting digital information, the 5th converting unit 43 is for being converted to character code by described digital information.
Specifically, in the present embodiment, the 5th converting unit 43 is to be the coding of base64 by unicode code conversion:
Transcode is as follows:
5th converting unit 43 uses above-mentioned code, and the data of return are exactly the character-coded data of Base64.
After getting character code, described 6th converting unit 44 is for being converted to described plaintext by described character code
Information.
After getting character code, described 6th converting unit 44 utilizes code:
Base64.encodeToString(str.getBytes(),Base64.DEFAULT);
Just the character code of Base64 can be converted to cleartext information.
So, decrypting process is just completed.
One or more embodiments in the present invention have the benefit that
The method and device of a kind of information Encrypt and Decrypt, described encryption method includes: obtain the plaintext letter of information to be encrypted
Breath;Character code is converted to by unified for described cleartext information;Institute's character code is converted to corresponding digital information;According to first
Described digital information is converted to least one set color value by transformational rule;Image, institute is generated by described least one set color value
State image and be the encrypted result that described cleartext information is encrypted;So, just Word message is converted to image realize right
The encryption of Word message, enhances the disguise of information in transmitting procedure, thus avoids cracker's decompiling to crack, improve
The safety of data.Further, if it is desired to improve the disguise of information further, it is also possible to arrange and obscure color lump, color lump will be obscured
It is written in the lump in image, without correct numerical value of obscuring, is also the chaotic color lump of a pile after decoding out, this
Sample just further increases the safety of data.
The above, only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention, all
Any amendment, equivalent and the improvement etc. made within the spirit and principles in the present invention, should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. the method for an information encryption, it is characterised in that described method includes:
Obtain the cleartext information of information to be encrypted;
Described cleartext information is converted to character code;
Described character code is converted to corresponding digital information;
According to the first transformational rule, described digital information is converted to least one set color value;
Generating image by described least one set color value, described image is the encryption knot being encrypted described cleartext information
Really.
2. the method for claim 1, it is characterised in that according to the first transformational rule described digital information is converted to
Few one group of color value, including:
Determine the numerical value of every group digital information;
Determine the maximum stratum that each color is corresponding, determine described R face according to the maximum stratum that corresponding numerical value is corresponding with R color
The color value of color, and obtain the first surplus value;
Determine the color value of described G color according to described first surplus value maximum stratum corresponding with G color, and it is surplus to obtain second
Residual value;
The color value of described B color is determined based on described second surplus value;
The color value of the color value of described R color, the color value of G color and described B color is combined, obtains least one set
(R, G, B) color value;Wherein, described R color is red, and described G color is green, and described B color is blue.
3. the method for claim 1, it is characterised in that before generating image by described least one set color value,
Described method also includes:
Numerical value is obscured in reception;
According to described obscure numerical value stochastic generation respective numbers obscure color lump;
Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image.
4. method as claimed in claim 3, it is characterised in that generate image by described least one set color value, including:
Determine the first datum mark writing described least one set color value;
With described first datum mark as original position, based on the described quantity obscuring color lump and described in obscure color lump at described image
In writing position, described least one set color value and the described color value obscuring color lump are write in described image successively.
5. method as claimed in claim 3, it is characterised in that based on Obfuscating Algorithms determine described in obscure color lump at described image
In writing position include:
The quantity often organizing said write position is determined based on the described quantity obscuring numerical value;
Determine the second datum mark of said write position;
With described second datum mark as original position, often group writing position is sequentially distributed in the color block corresponding to two groups of color value
Between.
6. the method for an information deciphering, it is characterised in that described method includes:
Reading least one set color value from image, described image is the encrypted result being encrypted cleartext information;
According to the second transformational rule, described least one set color value is converted to digital information;
Described digital information is converted to character code;
Described character code is changed described cleartext information.
7. method as claimed in claim 6, it is characterised in that according to the second transformational rule by mutually described least one set color value
Be converted to digital information, including:
Determine the maximum stratum that each color is corresponding, determine the numerical value A of described digital information according to formula A=(B*C+G) * C+R;
Wherein, maximum stratum corresponding to described each color is identical, and described R is red, and described G be green, and described B is blueness, described C
For the maximum stratum that described each color is corresponding.
8. method as claimed in claim 6, it is characterised in that when described image is obscured have obscure color lump time, from described figure
Read least one set color value in Xiang to include:
Numerical value is obscured in reception, according to the described quantity obscuring color lump obscuring the stochastic generation that numerical value determines;
Based on Obfuscating Algorithms determine described in obscure color lump writing position in described image;
Determine the first datum mark writing described color value;
Described image is traveled through for original position, in ergodic process, based on the described number obscuring color lump with described first datum mark
Amount and described obscure color lump writing position in described image skip described in obscure color lump, read described least one set color
Value.
9. the device of an information encryption, it is characterised in that described device includes:
Acquiring unit, for obtaining the cleartext information of information to be encrypted;
First converting unit, for being converted to character code by described cleartext information;
Second converting unit, for being converted to corresponding digital information by described character code;
3rd converting unit, for being converted to least one set color value according to the first transformational rule by described digital information;
Signal generating unit, for generating image by described least one set color value, described image is and enters described cleartext information
The encrypted result of row encryption.
10. the device of an information deciphering, it is characterised in that described device includes:
Reading unit, for reading least one set color value from image, described image is adding of being encrypted cleartext information
Close result;
4th converting unit, for being converted to digital information according to the second transformational rule by described least one set color value;
5th converting unit, for being converted to character code by described digital information;
6th converting unit, for being converted to described cleartext information by described character code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610958206.4A CN106330976B (en) | 2016-11-03 | 2016-11-03 | Information encryption and decryption method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610958206.4A CN106330976B (en) | 2016-11-03 | 2016-11-03 | Information encryption and decryption method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106330976A true CN106330976A (en) | 2017-01-11 |
CN106330976B CN106330976B (en) | 2020-01-03 |
Family
ID=57818076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610958206.4A Active CN106330976B (en) | 2016-11-03 | 2016-11-03 | Information encryption and decryption method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106330976B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106850187A (en) * | 2017-01-13 | 2017-06-13 | 温州大学瓯江学院 | A kind of privacy character information encrypted query method and system |
CN107092815A (en) * | 2017-03-31 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The method and server of a kind of protection module file |
CN107155113A (en) * | 2017-03-31 | 2017-09-12 | 武汉斗鱼网络科技有限公司 | The method and server of a kind of protection barrage information |
CN107196902A (en) * | 2017-03-31 | 2017-09-22 | 武汉斗鱼网络科技有限公司 | A kind of method and client of protection module file |
CN108174250A (en) * | 2018-01-08 | 2018-06-15 | 武汉斗鱼网络科技有限公司 | A kind of method, client and computer equipment for detecting direct broadcasting room popularity value |
CN110046077A (en) * | 2018-01-17 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Information processing method, device, the page, electronic equipment and server |
CN110321673A (en) * | 2018-03-28 | 2019-10-11 | 北京京东尚科信息技术有限公司 | Information ciphering method and device, information decryption method and device, security system |
CN110730277A (en) * | 2018-07-17 | 2020-01-24 | 阿里巴巴集团控股有限公司 | Information coding and method and device for acquiring coded information |
CN111147686A (en) * | 2019-12-31 | 2020-05-12 | 上海影卓信息科技有限公司 | Video and image content tracking method and system based on steganographic information |
CN111368310A (en) * | 2019-08-26 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Data encryption and decryption method and device, electronic equipment and storage medium |
CN111369422A (en) * | 2019-10-12 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Data compression method and device, equipment and storage medium |
CN113395254A (en) * | 2021-04-22 | 2021-09-14 | 国网浙江省电力有限公司嘉兴供电公司 | Power grid data communication system and method with converged internal network and external network |
CN113609420A (en) * | 2021-08-10 | 2021-11-05 | 平安国际智慧城市科技股份有限公司 | Page rendering method and device based on artificial intelligence, electronic equipment and medium |
CN115174757A (en) * | 2022-06-08 | 2022-10-11 | 广州鲁邦通智能科技有限公司 | Form information submitting method, reading method and processing system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101377837A (en) * | 2007-08-29 | 2009-03-04 | 北京方维银通科技有限公司 | Method for generating and checking electronic check two-dimension code credence |
CN102916804A (en) * | 2012-08-28 | 2013-02-06 | 华南农业大学 | Two-dimension code coding and decoding method and device based on local color verification |
CN103020686A (en) * | 2012-12-14 | 2013-04-03 | 苏州阔地网络科技有限公司 | Method and system for coding two-dimensional code colors |
CN103235946A (en) * | 2013-04-08 | 2013-08-07 | 上海合合信息科技发展有限公司 | Divulgence-preventive processing method for artificially identifying information of business cards |
CN104392260A (en) * | 2014-12-17 | 2015-03-04 | 肖学静 | Two-dimensional code anti-counterfeiting method based on additional information |
-
2016
- 2016-11-03 CN CN201610958206.4A patent/CN106330976B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101377837A (en) * | 2007-08-29 | 2009-03-04 | 北京方维银通科技有限公司 | Method for generating and checking electronic check two-dimension code credence |
CN102916804A (en) * | 2012-08-28 | 2013-02-06 | 华南农业大学 | Two-dimension code coding and decoding method and device based on local color verification |
CN103020686A (en) * | 2012-12-14 | 2013-04-03 | 苏州阔地网络科技有限公司 | Method and system for coding two-dimensional code colors |
CN103235946A (en) * | 2013-04-08 | 2013-08-07 | 上海合合信息科技发展有限公司 | Divulgence-preventive processing method for artificially identifying information of business cards |
CN104392260A (en) * | 2014-12-17 | 2015-03-04 | 肖学静 | Two-dimensional code anti-counterfeiting method based on additional information |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106850187A (en) * | 2017-01-13 | 2017-06-13 | 温州大学瓯江学院 | A kind of privacy character information encrypted query method and system |
CN107092815A (en) * | 2017-03-31 | 2017-08-25 | 武汉斗鱼网络科技有限公司 | The method and server of a kind of protection module file |
CN107155113A (en) * | 2017-03-31 | 2017-09-12 | 武汉斗鱼网络科技有限公司 | The method and server of a kind of protection barrage information |
CN107196902A (en) * | 2017-03-31 | 2017-09-22 | 武汉斗鱼网络科技有限公司 | A kind of method and client of protection module file |
CN108174250A (en) * | 2018-01-08 | 2018-06-15 | 武汉斗鱼网络科技有限公司 | A kind of method, client and computer equipment for detecting direct broadcasting room popularity value |
CN110046077A (en) * | 2018-01-17 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Information processing method, device, the page, electronic equipment and server |
CN110321673A (en) * | 2018-03-28 | 2019-10-11 | 北京京东尚科信息技术有限公司 | Information ciphering method and device, information decryption method and device, security system |
CN110730277B (en) * | 2018-07-17 | 2022-04-05 | 阿里巴巴集团控股有限公司 | Information coding and method and device for acquiring coded information |
CN110730277A (en) * | 2018-07-17 | 2020-01-24 | 阿里巴巴集团控股有限公司 | Information coding and method and device for acquiring coded information |
CN111368310A (en) * | 2019-08-26 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Data encryption and decryption method and device, electronic equipment and storage medium |
CN111369422A (en) * | 2019-10-12 | 2020-07-03 | 杭州海康威视系统技术有限公司 | Data compression method and device, equipment and storage medium |
CN111369422B (en) * | 2019-10-12 | 2023-09-15 | 杭州海康威视系统技术有限公司 | Data compression method and device, equipment and storage medium |
CN111147686A (en) * | 2019-12-31 | 2020-05-12 | 上海影卓信息科技有限公司 | Video and image content tracking method and system based on steganographic information |
CN113395254A (en) * | 2021-04-22 | 2021-09-14 | 国网浙江省电力有限公司嘉兴供电公司 | Power grid data communication system and method with converged internal network and external network |
CN113609420A (en) * | 2021-08-10 | 2021-11-05 | 平安国际智慧城市科技股份有限公司 | Page rendering method and device based on artificial intelligence, electronic equipment and medium |
CN115174757A (en) * | 2022-06-08 | 2022-10-11 | 广州鲁邦通智能科技有限公司 | Form information submitting method, reading method and processing system |
Also Published As
Publication number | Publication date |
---|---|
CN106330976B (en) | 2020-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106330976A (en) | Information encryption and decryption method and device | |
Sutaone et al. | Image based steganography using LSB insertion technique | |
CN106506487A (en) | A kind of information Encrypt and Decrypt method and device | |
US9141900B2 (en) | Progressive barcode | |
CN116032474B (en) | Safety protection system based on big data computer network | |
CN107155113B (en) | Method and server for protecting bullet screen information | |
CN106447001A (en) | Circular two-dimensional code, circular two-dimensional code coding method and application thereof | |
CN104376356A (en) | Two-dimensional code generating method with encryption function | |
CN107105324B (en) | Method and client for protecting bullet screen information | |
CN110704854B (en) | Stream type encryption method aiming at text data reserved format | |
CN104063833B (en) | A kind of image encryption, read method and device | |
CN109951268A (en) | The encrypting and decrypting method and device with bit map are changed based on position | |
CN106228502A (en) | The digital watermark embedding of satellite remote-sensing image tiff file and extracting method | |
CN104640091A (en) | Method for encryption communication of short message of mobile phone | |
CN112134687B (en) | Information encryption and decryption method based on two-dimensional code | |
CN105119923B (en) | A kind of information decoding method and terminal | |
CN104573781B (en) | A kind of Quick Response Code encoding and decoding method | |
CN105718978A (en) | QR code generation method and apparatus, and decoding method and apparatus | |
Pande et al. | Visual cryptography schemes using compressed random shares | |
CN101848361A (en) | Provide private data safely from sender to receiver | |
US20150363681A1 (en) | Progressive barcode | |
CN116566597A (en) | Controllable security level covert communication method based on bit coin address confusion ciphertext | |
CN105553676B (en) | With the Beidou serial port communication method of equipment authentication function and transmission, reception device | |
CN105205777A (en) | Encoding method of invisible image ciphers | |
Reddy et al. | Encrypt and decrypt image using vigenere cipher |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231110 Address after: Room 606-609, Compound Office Complex Building, No. 757, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong Province, 510699 Patentee after: China Southern Power Grid Internet Service Co.,Ltd. Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. |