Credit sign accidental streakline generating method
Technical field
The present invention relates to credit file anti-counterfeiting technology, relate in particular to the credit sign digital signature accidental streakline generating method in E-Government and the e-business implementation.
Background technology
Human society need carry out interests exchanges between men, often will use the voucher with credit sign in the interests exchange, promptly we " file of affixing one's seal " or " signature file " said usually.
Chinese Government's regulation " file is affixed one's seal and come into force " has a large amount of files to affix one's seal in the government work, also have a large amount of contracts to affix one's seal in the commercial affairs work of enterprise.
Also there is such regulation in other countries, for example use seal or insignia, perhaps use the idiograph.
In the daily life, seal that we are common or insignia are just represented a unit, mechanism or people one by one, this seal or insignia in use just show a unit, mechanism, individual's title, get in touch without any data with the file content of being signed.
Individual's signature commonly used is also got in touch without any data with the file content that is identified.
Seal recited above, insignia, perhaps idiograph, we can be referred to as them " credit sign ".
In face of high-tech such as modern high accuracy scanner, Computer Image Processing software, automatic engraving machine, light sensitve exposing machine constituted, seal, insignia were very easy to be scanned and duplicate, forge, and the pattern unanimity of duplicating, and can't differentiate.
The idiograph also can echographia, to such an extent as to hard to tell whether it is true or false.
In the promotion and implementation of globalization E-Government and ecommerce, can affix one's seal tradition and idiographic credit sign method is incorporated in the computer information system of modern handle official bussiness, use the Electronic Signature mode, seal, insignia, idiographic electronic image files are injected in the e-file, and the picture and text printed apparatus (as color printer) under the control that uses a computer then has seal, insignia, idiographic e-file to this and prints out together.
But in a single day the seal of signing under this method, insignia, idiographic electronic image are printed on the paper document, also are scanned easily to duplicate and can't discern the false from the genuine.
The illegal small advertisement in various places, China town and country a large amount of " certificates handling carves a seal ", the existence with the unlawful activities of certificate of forging document of various countries, the backwardness of the existing paper files classes credit sign anti-counterfeiting technology of explanation from the negative.
Seal, insignia, perhaps the idiograph is a method robot mechanism or natural person's a credit sign, forges credit sign and invades interests of another, destroys national management and socioeconomic normal operation.
Summary of the invention
For addressing the above problem and technological deficiency, the invention provides a kind of credit sign accidental streakline generating method, can make the credit sign pattern of signature on paper carry digital signature random number code streakline, thereby effectively prevent, differentiate, hit the illegal act of forging credit sign with uniqueness pattern characteristics.
The present invention is achieved by the following technical solutions:
Credit sign accidental streakline generating method, it is characterized in that, in computer system, prepare a e-file of waiting to sign the credit sign pattern, content with this e-file is a data source, and input hash function (as the special-purpose hash function of national technical standard GB/T18238.3-2002) calculates hashed value; With this hashed value of asymmetric-key encryption, obtain digital signature value (as the digital signature value of length 1024bit in the RSA system), can use this group the binary numeral of " 0 " and " 1 " character representation, geometric arrangements according to the credit sign pattern is scattered in digital pattern, be laminated on above the credit sign pattern, this lap of organizing picture and text in digital pattern stroke and the credit sign pattern forms credit sign digital signature accidental streakline as the streakline track.
Long digital signature value is used hash function computing once more, obtain short hashed value (160bit that generates as the special-purpose hash function of national technical standard GB/T18238.3-2002); Can use this group the binary system hashed value of " 0 " and " 1 " character representation, become digital pattern according to credit sign pattern geometries arranged distribution, be laminated on above the credit sign pattern, this lap of organizing digital pattern stroke and credit sign picture and text forms credit sign digital signature accidental streakline as the streakline track.
The hashed value that electronic file content is calculated, geometric arrangements according to the credit sign pattern is scattered in digital pattern, be laminated on above the credit sign pattern, this lap of organizing picture and text in digital pattern stroke and the credit sign pattern forms credit sign accidental streakline as the streakline track.
The binary numeral that " 0 " and " 1 " are represented is converted into 10 systems or 16 system characters, be scattered in digital pattern according to the credit sign geometric arrangements, be laminated on above the credit sign pattern, this lap of organizing digital pattern stroke and credit sign picture and text forms credit sign accidental streakline as the streakline track.
Colourless or filling is different from other colors of credit sign picture and text true qualities to digital pattern stroke with the lap of credit sign picture and text; Digital pattern stroke does not have to be colourless or not develop the color with the part of credit sign overlap, form visual streakline track on the credit sign picture and text.
Can use intercepting, shorten the numerical value length that generates digital pattern every methods such as word extractions.
Description of drawings
Fig. 1 is credit sign digital signature accidental streakline product process figure;
Fig. 2 is stand-by credit sign pattern or figure figure;
Fig. 3 is the credit sign figure that shows one's color that complete random number code streakline laminates;
Fig. 4 is whole number signature accidental streakline credit sign figure;
Fig. 5 is the credit sign figure that shows one's color that the random number code streakline that blocks laminates;
Fig. 6 is the digital signature accidental streakline credit sign figure that blocks.
Embodiment
The present invention relates to credit sign accidental streakline generating method, describe the present invention in detail below in conjunction with accompanying drawing and how to realize:
As shown in Figure 1:
In computer system, be ready to portion and treat stamped signature computer e-file step 111; Be ready to the electronic image step 112 of stand-by credit sign pattern (as chromatography seal die); Electronic file content with step 111 is a data source, and the input hash function calculates hashed value step 120; Use this hashed value step 130 of asymmetric-key encryption in the RSA digital signature technology system; Obtain 1024 (bit) digital signature value of length step 140; Because our geometric area of credit sign used in everyday (as seal) is limited, the data that generate digital pattern are long, character is just many, the character font size is just more little more at most for character in the limited geometric area of seal, thereby cause the streakline track unclear or can breach of confidence the integrality of sign picture and text, for breach of confidence neither identifies the readability that effective content integrity improves the streakline track again, can re-use 1024 (bit) long digital signature value of this group of hash function computing, obtain short hashed value step 150 as 160 (bit); The number of step 140 or step 150 generation is scattered in the digital pattern step 160 of digital signature according to the credit sign geometric arrangements, uses the electronic image step 112 of ready prepd stand-by credit sign pattern (as chromatography seal die); The digital pattern of digital signature that step 160 is generated be laminated on Fig. 3 above the electronic image of step 112 credit sign pattern 171, Fig. 5 173, make stroke in the digital pattern of this group digital signature scratch the videotext of credit sign, form credit sign digital signature accidental streakline Fig. 4 172, Fig. 6 174, generate digital signature accidental streakline credit sign step 170.
Use above-mentioned technical method, can produce the schematic diagram of visualization digital signature accidental streakline credit sign figure: Fig. 3 171, Fig. 5 173, the digital signature accidental streakline credit sign figure of the practical application of signature in the credit file: Fig. 4 172, Fig. 6 174.
If further improve the readability of streakline track, can use intercepting, shorten the length of this hashed value every methods such as word extractions, as use preceding 20 numbers of the hashed value that one group 40 16 system numerical tables show, reduce character quantity, the character font size is amplified, do not destroy the seal literary composition effectively improve on the basis of content integrity the streakline track readability Fig. 5 173, Fig. 6 174.
Fig. 3 is the credit sign figure that shows one's color that complete random number code streakline laminates, and as shown in the figure, the digital figure place of the digital pattern among the figure is 40 16 system numbers.
Fig. 4 is the credit sign figure that complete random number code streakline is sheared, and as shown in the figure, the non-red lines among the figure are that the random number code streakline laminates part.
Fig. 5 is the credit sign figure that shows one's color that the random number code streakline that blocks laminates, and as shown in the figure, the digital figure place of the digital pattern among the figure is 20 16 system numbers.
Fig. 6 is the credit sign figure that the random number code streakline that blocks is sheared, and as shown in the figure, the non-red lines among the figure are that the random number code streakline laminates part.
Digital pattern stroke and credit sign overlap part can be colourless; Also can use other color that is different from credit sign picture and text true qualities, as with the approximate purple of the red color of figure three to figure six etc.; Digital pattern stroke does not have to be colourless or not develop the color with the part of credit sign overlap, thereby form visual streakline track on the credit sign picture and text.
The legal basis and the method for inspection to above-mentioned credit sign digital signature accidental streakline are as described below:
The legal basis of credit sign digital signature accidental streakline authenticity verification is the Electronic Signature Law of various countries, and the digital certificate that uses according to the Electronic Signature Law jurisprudence foundation, and its judicial evidence chain is as follows:
According to the regulation of various countries' Electronic Signature Law, the method robot mechanism of an electronic signature technology safe in utilization, the significant digits certificate that must have a legal CA company to issue.
According to the technical scheme of present patent application, portion needs the file of signature credit sign, and the hashed value of a file content must be arranged, and digital signature random number code streakline must be arranged above the credit sign.
Under the present patent application technical scheme, the adulterator forges a credit sign file, also must forge set of number signature random number code streakline in credit sign.
In the secure hash function computing, file content can not be changed; The digital signature of using a significant digits certificate to carry out is undeniable, and its digital permutation and combination order also is unique, is unrepeatable.
The digital signature that authentic document produces is digital must to be overlapped with digital signature random number code streakline; Digital signature character streakline in the spurious document credit sign must not overlap.
False proof checking procedure is as follows:
The first step: more than setting plain scan instrument 600DPI reaches, RGB chromoscan seal impression.
Second step: amplify the Yin Wentu picture of checking that scanning obtains, see if there is the streakline track, then be not considered as forging; If have, then continue.
The 3rd step: obtain the e-file of credit sign file or the hashed value of file plain text content, use this hashed value of asymmetric-key encryption of the digital certificate of credit sign unit, according to the generation parameter and rule of credit sign " the digital streakline of digital signature ", regenerate " the digital streakline of digital signature " at this credit sign.
The 4th step: make this group " digital signature random number code streakline " and be laminated on above the credit sign that needs checking, observe the situation that the streakline track overlaps, the streakline track overlaps then credit sign (as seal) for true.
Credit sign accidental streakline generating method by technical solution of the present invention, basic legal principle according to China's Electronic Signature Law, the digital signature system of using hash function and unsymmetrical key to constitute, can on credit sign, form one group of accidental streakline pattern that has the digital signature character of uniqueness data relationship to constitute with file content, on the basis of credit sign explicit representation robot mechanism and natural person's name, be closely linked with file content simultaneously, it is close to reach a chapter one line one, by the digital signature random number code streakline pattern in the digital signature technology system check credit sign, realize personalization and uniqueness that the credit sign and the content that signs documents are combined closely, national management and credit sign holder in due course's economic interests are safeguarded in the illegal act of pre-anti-counterfeiting credit sign effectively.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.