Apparatus for applying indicia in accordance with an encrypted message

Abstract: An item bearing bit-mapped indicia with information encrypted by a public key which verifies a status of the item and a method and apparatus for applying such indicia. The indicia represents an encrypted message and has the form of an array of pixels, each pixel having a value selected from a predetermined set of values in accordance with a mapping of an encrypted message on to the array. Thus, a person having knowledge of the appropriate decryption key may scan the indicia to obtain the message and verify the status by decrypting the message. In one embodiment disclosed, the item is a mail piece and the status is the payment of postage. The indicia may have the form of a binary matrix transformed by matrix multiplication by a corresponding Hadamard matrix and the encrypted message may be encrypted using a public key encryption system.

Description: BACKGROUND OF THE INVENTION This invention relates to electronic postage meters and metering systems, and particularly to an improved method and apparatus for ensuring the validity of a postal indicia printed by a postage metering system. The terms electronic postage meter and metering system, as used herein, also refer to other similar systems, such as parcel registers and tax stamp meters that dispense and account for value, and generally to systems for applying indicia to items to verify payment, or other status, for that item. (Cf. e.g. GB-A-2 179 008.) Since a postage meter may be looked upon as a machine for printing money (i.e. symbols having value) security has always been considered the heart of postage meter operation. In prior postage meters an indicia is printed by letter press, using a uniquely engraved die containing postal information; the information being such that the metered postage indicia is traceable to a particular postage meter. Newer postage meters have been developed that include electronically controlled printers such as thermal printers, ink jet, or dot matrix pin printers for printing the indicia. While these newer meters work well in concept they have significant security problems which must be addressed, since such indicia are easily printed by anyone having a suitably programmed computer and an appropriate printer. One way to ensure the validity of a particular indicia has been to encode a message in the indicia in such a manner that an unauthorized person who does not know the encryption scheme cannot reproduce the appropriate encoding. Such meters using encoded information in the indicia are disclosed, for example in co-pending application Serial No. 724,372, to: Arno Muller, filed April 7, 1985 (US-A-4 757 537) and in a co-pending application by R. Sansone, entitled POSTAGE AND MAILING INFORMATION APPLYING SYSTEM, filed august 6, 1985 (US-A-4 725 718), both assigned to the Assignee of the present application. In a system disclosed in application Serial No. 515,073, to John Clark, filed July 18, 1983, and assigned to the Assignee of the present invention (US-A-4 637 051), there is taught another method and apparatus for producing coded indicia. This application teaches encoding such that the indicia is printed in human readable form with the pixels forming the indicia modified, by voids or displacements or the like, to produce a coded message which can then be decoded to verify that the coded information is identical to the human readable information of the indicia. Still another form of coded indicia, using bar code, is taught in commonly assigned U.S. Pat. No. 4,660,221; to: Dlugos; issued April 21, 1987. Such systems generally are operative for their intended purpose, but suffer from limitations and disadvantages. First, in many cases the encryption scheme used to encode the information may be relatively simple and subject to attack by sophisticated computer analysis. Once a dishonest user is in possession of the encryption scheme used he would be in a position to generate undetectable counterfeit indicia. When it is considered that high volume mailers such as insurance companies, credit card companies, or oil companies may spend hundreds of thousands, if not millions, of dollars per year on postage, the incentive for such attacks can be easily seen. Another disadvantage of the above schemes is that it is highly desirable to use a distinct encryption key for each postage meter so that a breach of security for a single meter will not jeopardize the entire meter population. However, using conventional encryption, this approach would require that the Postal Service maintain a data base of keys for each of the hundreds of thousands of postal meters in service. As is described in the commonly assigned U.S. patent application Serial No. 140,051; to: Jose Pastor; for: SYSTEM FOR CONVEYING INFORMATION FOR THE RELIABLE AUTHENTICATION OF A PLURALITY OF DOCUMENTS; filed December 31, 1987 (US-A-4 893 338, published 09.01.90) these problems are solved by the use of "public key" encryption systems, such as the generally known RSA encryption system. These systems provide two keys, one of which may be used to encrypt, but not decrypt, a message, and a second key which is used to decrypt the message. By use of such a public key system in the manner described in the above referenced patent application, distinct encryption systems may be provided for each meter, yet the Postal Service need only maintain a single public key to validate indicia. However, the use of the system taught in the above referenced patent application and the security of public key encryption schemes both require that large numbers be used, on the order of from 100 to 200 decimal digits, and be printed on a mail piece. Clearly, printing of such information in a conventional form as a string of decimal digits would be unacceptable. Accordingly, it is an object of the present invention to provide an improved method for the validation of the status of an item, and particularly to validate the payment of postage on a mail piece. More particularly, it is an object of the present invention to validate a status of an item by applying an indicia representative of large amounts of encrypted data in an acceptable manner. Brief Summary of the Invention According to the invention, there is provided an apparatus for applying indicia, said indicia verifying the status of items upon which said indicia are applied, comprising means for applying an array of pixels to form said indicia, said pixels having values selected from a predetermined set of values represented by a colour or grey scale for increasing above two the number of bits which may be represented by each pixel, and means for selecting said values for said pixels in accordance with a mapping of an encrypted message onto said array, the encrypted message representing said status. Thus, a person having knowledge of the mapping and the appropriate decryption key may scan the array to obtain the message and verify the status of the item by decrypting the message. In a preferred embodiment of the subject invention, the message is encrypted using a public key encryption system such as RSA. Thus, it may be seen that the above objects are achieved in accordance with the subject invention in a manner which is particularly advantageous for use with postage meters and similar systems using various forms of conventional, computer controlled printing, such as ink-jet printers or matrix printers. Other objects and advantages of the subject invention will become apparent to those skilled in the art from consideration of the attached drawings and the detailed description set forth below. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 shows a block diagram of a system for printing an indicia in accordance with the subject invention. Fig. 2 shows a flow chart of the operation of the system of Fig. 1. Figs. 3A and 3B show a binary matrix of data representative of encrypted data and a corresponding array of pixels, respectively. Fig. 4 shows a binary matrix of data resulting from the transformation of the matrix of Fig. 3A. Fig. 5 shows a mail piece marked with a postal indicia. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS Fig. 1 shows a postage metering system 10 in accordance with the present invention. System 10 includes CPU, or microprocessor, 12, which operates under the control of a program residing in PROM 14 and controls the basic meter functions, performs calculations based on any input data, and controls the flow of data into the various memories. Typically, a random access memory (RAM) 15 is connected to CPU 12 for the storage of real time information and for real time accounting of critical information including the updating of ascending and descending meter registers, which record the postage value expended and available respectively. The register values are then stored in more permanent form in non-volatile memory 16 either when power is interrupted or on a real time basis, as is well known in the art. The system operates in accordance with data (e.g. the postage value to be metered) supplied from an input, such as keyboard 18, or from another remote communication device. Such operation of postage meters is well known and is described for example in U. S. Pat. No. 4,301,507, to Soderberg. Metering system 10 differs from conventional postage meters using letter press printing in that CPU 12 is coupled to conventional, non-secure printer 20. Printer 20 receives print signals from CPU 12 for printing of postal information on an envelope, label or the like. Printer 20 may be a conventional dot-matrix pin printer or any one of a number of like devices, such as ink jet printers, thermal printers or LED printers, suitable for receiving electronic signals and applying corresponding pixels to an item. In accordance with the subject invention security against production of counterfeit indicia is not found in making the printer physically secure but in the form of the indicia (i.e. encryption). As also seen in Fig. 1 CPU 12 is coupled to encryption/transformation module 22. Module 22 operates on data to generate an encrypted message in the manner described in the above referenced commonly assigned patent application Serial No. 140,051 (US-A-4 893 338). This message is preferably encrypted using a public key encryption system, most preferably RSA, and formatted as a binary matrix as will be described further below. In another embodiment of the subject invention, the initial binary matrix containing the message may be transformed by matrix multiplication as will be further described below. Fig. 2 shows a flow chart of the functions performed in module 22. It will be understood by those skilled in the art that, while module 22 is shown as a physically separate module including a microprocessor, which communicates in a conventional manner with CPU 12, that, depending upon the computational power of CPU 12, the functions shown in Fig. 2 may be performed by means of a program stored in DROM 14 and executed in a conventional manner by CPU 12. Digital data is input at 30 and encrypted at 32 in accordance with public key 34 as is described in the above referenced commonly assigned patent application Serial No. 140,051. At 38 the encrypted data is put into binary format and, preferably, an error code is generated and added. (The error code is conventional and may be a simple parity bit or may be a more extensive error detecting or correcting code.) At 40 the resulting binary code is mapped onto an m x n matrix in a predetermined manner, resulting in a binary matrix substantially similar, though generally larger than that, shown in Fig. 3. To represent 100 decimal digits, approximately 333 binary bits are required. This information may be mapped in any predetermined manner, by rows, columns, etc. into a 19 x 19 matrix. To represent 300 decimal digits, approximately 1,000 binary bits are required, which may be mapped into a 32 x 32 binary matrix. Thus, assuming a scanning resolution of 32 pixels per inch, which is a pixel size of approximately .8 x .8 millimeters, 1,000 decimal digits may be represented as a bit mapped array of pixels one inch square (645 mm²). In one embodiment of the subject invention, illustrated by path A in Fig. 2, the binary matrix resulting at 40 is directly serialized and output for printing at 48, resulting in an array of pixels substantially similar, though generally larger than, that shown in Fig. 3B. In another embodiment of the subject invention, the image formed at 40 may be transformed as described in commonly assigned U.S. application Serial No. 762,990 (US-A-4 835 713); by matrix multiplication. In accordance with this embodiment of the subject invention, a matrix transformation is applied to the initial matrix produced at 40 at 42. A suitable and convenient transformation is a matrix multiplication of the form: (IM) = (A) (OB) (A) where (A) is a Hadamard matrix of the same size as the initial matrix (OB), shown as 8 x 8 in Fig. 3, and (IM) is the resultant transformed matrix product. Hadamard matrices are a well known form of matrix which have the following properties: the first element of (IM) is the weight of (OB), that is the total number of ones in (OB); the number of bits required to represent a single element of (IM) is determined by the weight of (OB), that is nine bits to represent a weight of 1,023 in a 32 x 32 matrix; and the elements of (IM) may be either positive or negative but are all of the same parity. Preferably, to avoid printing negative numbers, the parity of the total number of bits in (OB) is odd. That is, for a 32 x 32 matrix we allow only up to 1,023 ones. Negative numbers may then be represented by the complement to the maximum allowed number of ones (i.e. 1,023), avoiding the need for an extra sign bit. As is also taught in application Serial No. 762,990, the resulting matrix may then be printed with two-fold or four-fold symmetry by reflection about a vertical and/or horizontal axis. Fig. 4 shows the binary matrix resulting from a transformation as described above applied to the matrix of Fig. 3A. It is recognized that application of the above described transformation to matrix (OB) will substantially increase the size of the resulting pixel array, perhaps to the point where the array would be unacceptably large for printing on an envelope. However, according to the invention, this is compensated for by the use of color or gray scales to increase the number of bits which may be represented by each pixel; and it should be recognized that the redundancies introduced by symmetrical printing and/or error codes may allow the use of smaller pixel sizes while still obtaining satisfactory results. It should also be recognized that larger image sizes may be acceptable on documents, such as manifest, which are intended to accompany shipments or bulk mailings. Fig. 5 shows an item to be mailed 50 (i.e. an envelope) marked with an indicia 52 produced in accordance with the subject invention. Indicia 52 includes the following plain text information relating to the item: a postage amount 54, a date 58 on which the item was metered, an ID number 60 for the meter, and a second ID number 62 for the postal station which the item is to be delivered in accordance with U.S.P.S. regulation for metered mail. Indicia 52 also includes an array 66 (depicted as a binary array for illustrative purposes) comprising a mapping of a public key encryption of at least a portion of the plain text information together with additional information as described in the above referenced, commonly assigned patent application. Binary array 62 consists of approximately 600 binary pixels; (without reflection) and is equivalent to approximately 180 decimal digits; ample to provide security for a message encrypted with the preferred RSA encryption technique. The above description and drawings have been provided by way of illustration only, and will enable those skilled in the art to recognize numerous other embodiments of the subject invention. Accordingly, limitations on the subject invention are to be found only in the claims set forth below.

Claims: An apparatus for applying indicia, said indicia verifying the status of items upon which said indicia are applied, comprising: means (20) for applying an array of pixels to form said indicia, said pixels having values selected from a predetermined set of values represented by a colour or grey scale for increasing above two the number of bits which may be represented by each pixel, and means (12, 14-16, 18, 22) for selecting said values for said pixels in accordance with a mapping of an encrypted message onto said array, the encrypted message representing said status. An apparatus as claimed in claim 1, further comprising a public key (34) for effecting the encrypting of said message. An apparatus as claimed in claim 2, wherein said public key (34) is an RSA key. An apparatus as claimed in any preceding claim, further comprising means (A, 48) for outputting the array directly for printing, without transformation. An apparatus as claimed in claim 1, 2 or 3, wherein said array corresponds to a binary matrix and wherein said selecting means further comprises means for generating an initial mapping of said encrypted message onto an initial binary matrix and means for transforming said initial matrix by matrix multiplication to form said corresponding binary matrix. An apparatus as claimed in claim 5, wherein said matrix multiplication has the form A (OB) A, and wherein (A) is a Hadamard matrix and (OB) is said initial matrix. An apparatus as claimed in any preceding claim, further comprising means for generating and adding an error detecting and correcting code to said encrypted message prior to the mapping thereof. An apparatus as claimed in any preceding claim, wherein said status is the payment of postage. A method of applying indicia to an item, said indicia verifying the status of said item, comprising the steps of a) encrypting (32) a message, said message being representative of said status; b) selecting values for an array of pixels from a predetermined set of values in accordance with a mapping (40) of said encrypted message onto said array, said values being represented by a colour or grey scale for increasing above two the number of bits which may be represented by each pixel; and c) applying said array to said item to form said indicia. A method as claimed in claim 9, wherein said message is encrypted by a public key (34). A method as claimed in claim 9 or 10, wherein said array is output directly (A) for printing without transformation. A method as claimed in claim 9, 10 or 11, wherein an error detecting and correcting code is generated and added to said encrypted message prior to said mapping thereof.

Inventors: PASTOR JOSE, PASTOR, JOSE
Applicants: PITNEY BOWES INC, PITNEY BOWES, INC.
Application year: 1989
Main classification: G07B17
IPC codes: G09C5, G07B17