Under 35 U.S.C. § 120 this application claims the benefit of co-pending U.S. patent application Ser. No. 09/579,070, filed May 25, 2000, by Doron Shaked et al., and entitled “A Method and Apparatus for Generating and Decoding a Visually Significant Bar Code,” which is incorporated herein by reference.
This invention relates to authenticatable graphical bar codes.
A bar code symbol is a pattern of parallel bars and spaces of various widths that represent data elements or characters. The bars represent strings of binary ones and the spaces represent strings of binary zeros. A conventional “one-dimensional” bar code symbol contains a series of bars and spaces that vary only in a single dimension. One-dimensional bar code symbols have relatively small information storage capacities. “Two-dimensional” bar codes have been developed to meet the increasing need for machine-readable symbols that contain more information than one-dimensional bar code symbols. The information storage capacity of two-dimensional bar code symbols is increased relative to one-dimensional bar codes by varying the bar code patterns in two dimensions. Common two-dimensional bar code standards include PDF417, Code 1, and Maxicode. One-dimensional and two-dimensional bar code symbols typically are read by optical scanning techniques (e.g., by mechanically scanned laser beams or by self-scanning charge-coupled devices (CCD's)) that convert a printed bar code symbol into electrical signals. The electrical signals are digitized and decoded to recover the data encoded in the printed bar code symbol.
Bar codes may be used in a variety of applications, including low information content applications (e.g., automatic price tagging and inventory management), and relatively high information content applications (e.g., encoding mail addresses and postage for automated mail reading and mail distribution systems, and encoding compressed content of a printed page).
In many applications, it is desirable to authenticate the source of information or the information itself, or both. For example, in order to create certain written instruments (e.g., a bank draft or check authorizing the withdrawal of money from a bank account, or a postage indicia printed on an envelope) it is necessary to authenticate the source of the information creating the instrument (e.g., the identity of person authorizing the bank withdrawal or printing the postage indicia). In addition, in certain applications there is a need to verify whether a communication received by a recipient is the actual communication that was sent by the sender (i.e., that a communication has not been intercepted, modified, or replaced).
The invention features an inventive scheme (systems and methods) for generating and decoding authenticatable graphical bar codes.
In one aspect, the invention features a bar coding method in accordance with which a corroborative signed message is generated from information to be encoded, and a base image is modulated with a graphical encoding of the signed message to produce a marked image.
As used herein, the term “corroborative signed message” refers broadly to a message by which the sender of information or the information itself, or both, may be authenticated.
Embodiments of the invention may include one or more of the following features.
The step of generating the signed message preferably includes producing a cryptographic hash from the information to be encoded. The cryptographic hash may be produced by passing the information to be encoded through a one-way function, such as SHA or MD5. The step of generating the signed message preferably also includes encrypting the cryptographic hash to produce a digital signature. The cryptographic hash may be encrypted with a private key. The step of generating the signed message may include concatenating the information to be encoded and the digital signature. The signed message may include a public key certificate.
In one embodiment, the base image includes an image of a handwritten signature. The base image modulating step may include vectorizing the handwritten signature image. A set of base control points may be obtained for the vectorized handwritten signature image, and the information may be encoded by displacing the base control points to obtain a marked set of control points from which the marked image is produced.
In some embodiments, the base image modulating step includes modulating a halftoning process based upon the information to be encoded.
The signed message may be extracted from the marked image. The signed message preferably is extracted from the marked image based upon a comparison of the marked image and the base image. The extracted signed message may be decoded to produce a decoded message. An original encrypted cryptographic hash and the encoded information may be extracted from the decoded message. The encrypted cryptographic hash may be decrypted with a public key. The extracted information may be authenticated by producing a new cryptographic hash from the extracted information, and comparing the new cryptographic hash with the original cryptographic hash.
In another aspect of the invention, a signed message is extracted from a scanned image based upon a comparison of the marked image and a base image. The extracted signed message is decoded to produce a decoded message. Information encoded in the marked image is extracted from the decoded message.
An encrypted original cryptographic hash may be extracted from the decoded message. The encrypted original cryptographic hash may be decrypted with a public key. The extracted information may be authenticated by producing a new cryptographic hash from the extracted information, and comparing the new cryptographic hash with the original cryptographic hash.
In another aspect, the invention features a computer program residing on a computer-readable medium. The computer program comprises computer-readable instructions for causing a computer to generate a corroborative signed message from information to be encoded, and to modulate a base image with a graphical encoding of the signed message to produce a marked image.
Other features and advantages of the invention will become apparent from the following description, including the drawings and the claims.
In the following description, like reference numbers are used to identify like elements. Furthermore, the drawings are intended to illustrate major features of exemplary embodiments in a diagrammatic manner. The drawings are not intended to depict every feature of actual embodiments nor relative dimensions of the depicted elements, and are not drawn to scale.
Referring to
Encoder 16 may be a computer or other programmable processor, and printer 18 may be a conventional printer (e.g., a LaserJet® printer available from Hewlett-Packard Company of Palo Alto, Calif., U.S.A.) or a special-purpose label printing device. In operation, encoder 16 generates a corroborative signed message from information 12 (step 20). Encoder 16 modulates a base image 22 with a graphical encoding of the signed message to produce marked image 14 (step 24). Base image 22 may be any graphical pattern, including a logo (e.g., a company logo), graphics, pictures, text, images, or any pattern that has visual significance. The signed message may be embedded in the graphical design of text, pictures, images, borders, or the background of base image 22 to produce marked image 14. The information may be embedded in marked image 14 in the form of a binary image (e.g., a black and white dot pattern), a multilevel image (e.g., a gray-level image), or a multilevel color image. Printer 18 renders a hard copy 26 of marked image 14 that may be transferred physically from a sender to a recipient (step 28). Hard copy 26 may be in the form of any one of a wide variety of printed materials, including a bank draft (or check) carrying a marked image of a withdrawal authorization signature, a stock certificate or bond carrying a marked image of an authenticity certification, and an envelope carrying a marked image of postage indicia. In other embodiments, marked image 14 may be rendered by other printing processes. Alternatively, marked image 14 may be rendered in an electronic format.
Referring to
As shown in
Referring to
If a public key certificate is appended to the extracted signed message, the public key certificate may provide a level of assurance as to the identity of the holder of the private key corresponding to a particular public key. The authenticity of the public key certificate may be tested by verifying the certification authority's digital signature using the certification authority's public key.
Referring to
In general, the graphical encoding process of
As shown in
Referring to
In other embodiments, different vector-based encoding schemes may be used. For example, in a one-bit encoding embodiment, groups of control points are displaced in a binary manner (e.g., stationary or displaced, displaced in a leftward direction or displaced in a rightward direction, displaced in an upward direction or displaced in a downward direction). A three-bit encoding embodiment may incorporate diagonal displacements into the encoding scheme of
In sum, the above-described embodiments provide a novel approach for authenticating information that is embedded in a graphical bar code. These embodiments enable bar codes having visual significance to be generated in a manner that allows the source of information or the information itself, or both, to be authenticated. In this way, these embodiments readily may be applied to various applications, including authorization markings printed on a bank draft or check, and postage indicia printed on an envelope.
The systems and methods described herein are not limited to any particular hardware or software configuration, but rather they may be implemented in any computing or processing environment. The encoding and decoding processes described above may be implemented in a high level procedural or object oriented programming language, or in assembly or machine language; in any case, the programming language may be a compiled or interpreted language.
Other embodiments are within the scope of the claims.
For example, although the above embodiments are described with respect to an asymmetric (public key) cryptographic embodiment, other embodiments may be implemented using a symmetric (secret key) cryptographic scheme in which the cryptographic hash is encrypted with the sender's secret key. In addition, although the above embodiments are described with respect to fixed-pattern halftoning methods, other embodiments may utilize different halftoning methods, including cluster dithering (e.g., blue noise) methods and error diffusion methods.
Still other embodiments are within the scope of the claims.
| Number | Name | Date | Kind |
|---|---|---|---|
| 4637051 | Clark | Jan 1987 | A |
| 4777357 | Harada | Oct 1988 | A |
| 4822986 | Guthmueller et al. | Apr 1989 | A |
| 4901073 | Kibrick | Feb 1990 | A |
| 4924078 | Sant'Anselmo et al. | May 1990 | A |
| 5060980 | Johnson et al. | Oct 1991 | A |
| 5075862 | Doebert et al. | Dec 1991 | A |
| 5091966 | Bloomberg et al. | Feb 1992 | A |
| 5120940 | Willsie | Jun 1992 | A |
| 5153928 | Iizuka | Oct 1992 | A |
| 5195123 | Clement, Jr. | Mar 1993 | A |
| 5315098 | Tow | May 1994 | A |
| 5337361 | Wang | Aug 1994 | A |
| 5339170 | Fan | Aug 1994 | A |
| 5459307 | Klotz, Jr. | Oct 1995 | A |
| 5486686 | Zdybel, Jr. et al. | Jan 1996 | A |
| 5490217 | Wang et al. | Feb 1996 | A |
| 5513563 | Berson | May 1996 | A |
| 5523552 | Shellhammer et al. | Jun 1996 | A |
| 5527407 | Gartland et al. | Jun 1996 | A |
| 5541396 | Rentsch | Jul 1996 | A |
| 5544255 | Smithies et al. | Aug 1996 | A |
| 5550365 | Klancnik et al. | Aug 1996 | A |
| 5591956 | Longacre, Jr. | Jan 1997 | A |
| 5644408 | Li et al. | Jul 1997 | A |
| 5644655 | Windsor | Jul 1997 | A |
| 5647017 | Smithies et al. | Jul 1997 | A |
| 5661284 | Freeman | Aug 1997 | A |
| 5682030 | Kubon | Oct 1997 | A |
| 5706099 | Curry | Jan 1998 | A |
| 5710636 | Curry | Jan 1998 | A |
| 5710814 | Klemba et al. | Jan 1998 | A |
| 5765176 | Bloomerg | Jun 1998 | A |
| 5767496 | Swartz et al. | Jun 1998 | A |
| 5778076 | Kara et al. | Jul 1998 | A |
| 5790703 | Wang | Aug 1998 | A |
| 5799112 | de Queriroz et al. | Aug 1998 | A |
| 5801944 | Kara | Sep 1998 | A |
| 5818955 | Smithies et al. | Oct 1998 | A |
| 5818970 | Ishikawa et al. | Oct 1998 | A |
| 5819240 | Kara | Oct 1998 | A |
| 5828772 | Kashi et al. | Oct 1998 | A |
| 5835615 | Lubow et al. | Nov 1998 | A |
| 5838814 | Moore | Nov 1998 | A |
| 5866895 | Fukuda et al. | Feb 1999 | A |
| 5871288 | Ryan et al. | Feb 1999 | A |
| 5880451 | Smith et al. | Mar 1999 | A |
| 5897669 | Matsui | Apr 1999 | A |
| 5898166 | Fukuda et al. | Apr 1999 | A |
| 5912745 | Ulichney | Jun 1999 | A |
| 5946414 | Cass | Aug 1999 | A |
| 5946415 | Su et al. | Aug 1999 | A |
| 5953426 | Windel et al. | Sep 1999 | A |
| 5974147 | Cordery et al. | Oct 1999 | A |
| 5974200 | Zhou et al. | Oct 1999 | A |
| 5982506 | Kara | Nov 1999 | A |
| 5982896 | Cordery et al. | Nov 1999 | A |
| 5996893 | Soscia | Dec 1999 | A |
| 6032861 | Lemelson et al. | Mar 2000 | A |
| 6064738 | Fridrich | May 2000 | A |
| 6064751 | Smithies et al. | May 2000 | A |
| 6064764 | Bhaskaran et al. | May 2000 | A |
| 6091835 | Smithies et al. | Jul 2000 | A |
| 6116510 | Nishino | Sep 2000 | A |
| 6141441 | Cass et al. | Oct 2000 | A |
| 6141450 | Chen et al. | Oct 2000 | A |
| 6151590 | Cordery et al. | Nov 2000 | A |
| 6172773 | Ulichney | Jan 2001 | B1 |
| 6175827 | Cordery et al. | Jan 2001 | B1 |
| 6193158 | Hecht et al. | Feb 2001 | B1 |
| 6201901 | Zhou et al. | Mar 2001 | B1 |
| 6212281 | Vanstone | Apr 2001 | B1 |
| 6212504 | Hayosh | Apr 2001 | B1 |
| 6240196 | Fischer et al. | May 2001 | B1 |
| 6240212 | Son et al. | May 2001 | B1 |
| 6252675 | Jacobs | Jun 2001 | B1 |
| 6256398 | Chang | Jul 2001 | B1 |
| 6263086 | Wang | Jul 2001 | B1 |
| 6307955 | Zank et al. | Oct 2001 | B1 |
| 6311214 | Rhoads | Oct 2001 | B1 |
| 6345104 | Rhoads | Feb 2002 | B1 |
| 6364209 | Tatsuta et al. | Apr 2002 | B1 |
| 6373587 | Sansone | Apr 2002 | B1 |
| 6398117 | Oakeson et al. | Jun 2002 | B1 |
| 6427021 | Fischer et al. | Jul 2002 | B1 |
| 6430302 | Rhoads | Aug 2002 | B1 |
| 6457651 | Paul et al. | Oct 2002 | B1 |
| 6470096 | Davies et al. | Oct 2002 | B1 |
| 6493110 | Roberts | Dec 2002 | B1 |
| 6510997 | Wilz et al. | Jan 2003 | B1 |
| 6526155 | Wang | Feb 2003 | B1 |
| 6601172 | Epstein | Jul 2003 | B1 |
| 6611598 | Hayosh | Aug 2003 | B1 |
| 6611623 | Konishi et al. | Aug 2003 | B1 |
| 6748533 | Wu et al. | Jun 2004 | B1 |
| 6938017 | Yen et al. | Aug 2005 | B1 |
| 20010047476 | Yen et al. | Nov 2001 | A1 |
| Number | Date | Country |
|---|---|---|
| 0909654 | Apr 1999 | EP |
| 08185451 | Jul 1996 | JP |
| WO 0011599 | Mar 2000 | WO |
| WO0011599 | Mar 2000 | WO |
| Number | Date | Country | |
|---|---|---|---|
| 20010047476 A1 | Nov 2001 | US |