DYNAMIC PRIMARY ACCOUNT NUMBER (PAN) AND UNIQUE KEY PER CARD
Methods, systems, and machine-readable media are disclosed for handling information related to a financial transaction including utilizing dynamic cryptograms. According to one embodiment, a method of processing a financial transaction related to a financial account can comprise detecting initiation of the transaction with a device used as a presentation instrument in the transaction. A Dynamic Transaction Cryptogram (DTC) and a dynamic PAN can be generated at the device. The DTC can be used to authenticate the transaction and the dynamic PAN can comprise an encrypted form of a real PAN of the financial account that is valid for a single transaction. The DTC and the dynamic PAN can be provided by the device for use in the transaction.
Latest First Data Corporation Patents:
This application is a continuation of U.S. patent application Ser. No. 12/357,579, filed Jan. 22, 2009, entitled “DYNAMIC PRIMARY ACCOUNT NUMBER (PAN) AND UNIQUE KEY PER CARD,” the entire disclosures of which are herein incorporated by reference for all purposes.
BACKGROUND OF THE INVENTIONEmbodiments of the present invention generally relate to handling information related to financial transactions. More specifically, embodiments of the present invention relate to methods and systems for utilizing dynamic cryptograms in a financial transaction.
Today, merchants and service providers accept many forms of payment. Many merchants will accept cash, credit cards, debit cards, stored-value cards, checks, and promotional items such as coupons. Additionally, various forms of wireless or contactless devices have been introduced for use in various types of transactions. For example, contactless transaction initiation is often performed with a “smart” card or other device such as a key fob or a mobile device such as a cell phone or Personal Digital Assistant (PDA) containing a memory and a processor. Such a card or device typically also includes Radio-Frequency IDentification (“RFID”) or Near-Field Communications (NFC) components for contactless communication with a Point-Of-Sale (POS) device. The information stored in the memory of the device and communicated via the RFID or NFC components to the POS device is generally similar or identical to the information recorded on the magnetic stripe of a card, i.e., account number etc. Thus, in some cases, such devices may be utilized instead of more conventional cards.
However, such devices and/or transactions are vulnerable to a number of different types of attacks from identity thieves or other criminals. For example, devices capable of skimming transmissions between the merchant's reader and cards or other devices can be placed near the NFC reader to read the transaction information, including the account number, when a card or device is read at the POS device. In another example, illegal portable readers can be used which, when brought into proximity with a card or other device can read the account information from the card even while it is being carried in a wallet or purse. In yet another example, transactions or transaction information that are transmitted through a payment processor's network or other network may be intercepted and read to obtain account numbers and/or other information.
In an effort to prevent such attacks, encryption is sometimes used to protect the account number on the card or device. Such encryption utilizes an encrypted account number on the card or device or an encryption key that is loaded into the card or device that is derived from an institution level key (i.e., it applies to many cards) and the card number. However, using a common key can lead to a compromise of a large number of cards if the institution's encryption key is exposed. A common defense against this risk is to derive a card level key using the common institution level key and some card level attributes such as the Primary Account Number (PAN), though this technique has exposure risk as well. This key exposure can result from a failure in business processes of the issuer to protect the key or an assault on a single chip, e.g., using electron-microscopy to expose the derived key followed by a DES assault to derive the institution's key. If the institution key is compromised, all transactions for all cards or devices with this institution's key are potentially exposed. Therefore, a new key must be created and a possibly large number of cards re-issued. Hence, there is a need in the art for improved methods and systems for securely handling a financial transaction.
BRIEF SUMMARY OF THE INVENTIONMethods, systems, and machine-readable media are disclosed for handling information related to a financial transaction including utilizing a set of dynamic cryptograms that are valid for a single transaction. According to one embodiment, a method of processing a financial transaction related to a financial account can comprise detecting initiation of the transaction with a device used as a presentation instrument in the transaction. A Dynamic Transaction Cryptogram (DTC) can be generated at the device, using a unique card level key stored on the device. A dynamic PAN can also be generated at the device. The dynamic PAN can comprise an encrypted form of a real PAN of the financial account that varies with each use of the device. Generating the dynamic PAN can be based on the real PAN and an Institution Key Card Variant (IKCV) stored on the device. The IKCV can be derived from the institution key of the issuer of the account. The dynamic PAN can also be based on an undeterminable number generated or received by the device. Generating the dynamic PAN can further comprise reading the real PAN from a memory of the device, generating Pseudo-PAN-Dynamic-Data (PPDD) representing the real PAN by combining the real PAN with the undeterminable number, and encrypting the PPDD using the card-level key. In some cases, an unencrypted portion of the real PAN (Conserved Real PAN Digits) can be included as part of or appended to the dynamic PAN. For example, Conserved Real Pan Digits can comprise less than all of the real PAN and can include information for routing of the transaction to a financial institution.
The DTC and the dynamic PAN can be provided by the device for use in the transaction. For example, providing the DTC and the dynamic PAN from the device for use in the transaction can comprise providing the DTC and dynamic PAN to a Point-of-Sale (POS) device. In such cases, the DTC and the dynamic PAN can be sent or provided from the POS device to a payment processor system. The real PAN of the financial account can be determined at the payment processor system. The transaction can be authenticated at the payment processor system or at the financial institution based on the DTC. For example, determining the real PAN can comprise decrypting the dynamic PAN using a key maintained by the payment processor system and corresponding to one of the card-level keys of the device (e.g., the, IKCV). The real PAN can be sent from the payment processor system to a financial institution to affect processing of the transaction. Authenticating the transaction at the payment processor can comprise validating the DTC using a key maintained at the DTC validation system (e.g., the payment processor system or the financial institution), corresponding to the unique card level key on the payment device. According to another embodiment, dynamic PAN decryption to real PAN can be done by the payment processor and the DTC authentication can be done by the Financial Institution.
According to another embodiment, a device for initiating a financial transaction related to a financial account can comprise a processor, an output device communicatively coupled with the processor, and a memory communicatively coupled with and readable by the processor. The memory can have stored therein a real Primary Account Number (PAN) for the financial account, a unique, card-level key, and an Institution Key Card Variant (IKCV) that is a variant of an institution key of an issuer of the financial account. The memory can also have stored therein a series of instructions which, when executed by the processor, cause the processor to detect initiation of the transaction, generate a Dynamic Transaction Cryptogram (DTC) using the unique card-level key and a dynamic PAN based on the real PAN, the IKCV, and an undeterminable number and provide the DTC and the dynamic PAN to the output device.
Generating the dynamic PAN can comprise reading the real PAN from the memory of the device, generating Pseudo-PAN-Dynamic-Data (PPDD) representing the real PAN by combining the real PAN with the undeterminable number, and encrypting the PPDD using the IKCV. Generating the dynamic PAN may further comprise including an unencrypted portion of the real PAN in the dynamic PAN. For example, the portion of the real PAN can comprise less than all of the real PAN and can include information for routing of the transaction to a financial institution.
According to yet another embodiment, a system can comprise a device for initiating a financial transaction related to a financial account. The device can have stored therein a real Primary Account Number (PAN) for the financial account, a unique, card-level key, and an Institution Key Card Variant (IKCV) that is a variant of an institution key of an issuer of the financial account. The device can be adapted to detect initiation of the transaction, generate a Dynamic Transaction Cryptogram (DTC) based on the card-level key, generate a dynamic PAN based on the real PAN, the IKCV, and an undeterminable number, and output the DTC and the dynamic PAN. Generating the dynamic PAN can comprise reading the real PAN from a memory of the device, generating Pseudo-PAN-Dynamic-Data (PPDD) representing the real PAN by combining the real PAN with the undeterminable number, and encrypting the PPDD using the card-level key. In some cases, generating the dynamic PAN may further comprise including an unencrypted portion of the real PAN in the dynamic PAN. For example, the portion of the real PAN can comprise less than all of the real PAN and may include information for routing of the transaction to a financial institution.
The system can also include a payment processor system communicatively coupled with the device and adapted to receive the DTC and the dynamic PAN from the device and process the transaction based on the dynamic PAN. The system may further comprise a Point-of-Sale (POS) device communicatively coupled with the device and the payment processor system. In such cases, the POS device can be adapted to receive the DTC and the dynamic PAN from the device and provide the DTC and the dynamic PAN to the payment processor system. The payment processor system can be adapted to authenticate the transaction based on determining the real PAN of the financial account based on the dynamic PAN and validating the DTC. For example, the payment processor system can maintain an institution key for an issuer of the financial account and can determine the real PAN by decrypting the dynamic PAN using the institution key. The payment processor system can be further adapted to submit the real PAN to a financial institution to affect processing of the transaction.
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form.
Embodiments of the invention provide methods and systems for processing various financial transactions as well as other information related to one or more financial accounts. In some such embodiments, the processes are executed by an entity on behalf of one or more client organizations. The description herein sometimes refers to “clients” and to “customers.” Reference to “clients” is intended to refer to persons, i.e. individuals, entities, or their agents, on whose behalf a set of information is managed. Reference to “customers” or “consumer” is intended to refer to persons, i.e. individuals, entities, or their agents, who are the subject of or related to that information. Thus, merely for purposes of illustration, in the case where the information comprises credit-card account records for a credit card issued to Mr. Jones by Bank A, Bank A corresponds to a client and Mr. Jones corresponds to a customer or consumer.
In describing embodiments of the invention, reference is sometimes made to other terms having specific intended meanings. For example, as used herein, the term “payment processor” refers to an entity that receives purchase transaction information from a merchant or other entity and, based on account identifier information, routes the transaction information over an electronic funds transfer network to an issuer of the account being used for payment.
The term “mobile device” is used herein to refer to any small, likely handheld, electronic device that can be used to initiate or otherwise participate in a financial transaction. For example, a mobile device can include, but is not limited to a cellular telephone, a Personal Digital Assistant (PDA), a smart card or other contactless device, etc. Exemplary devices that may be adapted for use as mobile devices in various embodiments of the present invention are described in co-pending and commonly assigned U.S. patent application Ser. No. 11/672,417 entitled “Contactless Electronic Wallet Payment Device” filed on Feb. 7, 2007; U.S. patent application Ser. No. 11/551,063 entitled “Presentation Instrument with Non-Financial Functionality” filed on Oct. 19, 2006; and U.S. Provisional Patent Application No. 60/833,022 entitled “Mobile Payment Device with Magnetic Stripe” filed on Jul. 24, 2006, each of which is incorporated herein by reference in its entirety for all purposes.
“Near Field Communication” (NFC) refers to short range wireless technology used to facilitate communication between electronic devices in close proximity. For example, embodiments of the present invention provide for the use of NFC and/or other relatively short range communications between a mobile device and a POS device such as when a user of the mobile device scans or waves the mobile device in front of or near the POS device when paying for goods or services.
A “payment network” refers herein to an infrastructure that supports that exchange of data in implementing financial transactions. It is anticipated that the data exchange typically proceeds between merchants and financial institutions. Examples of existing commercial networks that are included within the definition of “payment network” include the STAR network, the NYCE® network, the VISA® network, and the MasterCard® network. Access to a network by a consumer can be achieved through entry of a secret code, such as a personal identification number (“PIN”), in combination with data extracted from the mobile device. In some embodiments, a signature of the consumer may be used in lieu of a secret code. In some instances, particularly in support of transactions having a low value, a consumer might be permitted access to the payment network with only information extracted from the mobile device, without the need to provide a PIN or signature.
A “point-of-sale device” or “POS device” refers herein to any physical device situated at a location where a consumer may provide payment in support of a transaction. Such physical locations are typically merchant locations, such as where the POS device is operated by a clerk or is available for self-operation by the consumers (such as a vending machine), but may also be in other locations. For instance, certain automatic teller machines “ATMs” may be equipped to support transactions for the sale of movie or sporting-event tickets even remote from the merchant location; other similar types of transactions that may be performed with a POS device at a location remote from the merchant will also be evident to those of skill in the art. In some cases, a personal computer equipped with the appropriate structure may be used as a POS device even when located on the consumer premises. Examples of POS devices thus include, without limitation, personal computers, cash registers, and any devices capable of reading a magnetic stripe, an RFID chip, NFC communications, or other information from a mobile device, contactless device, card, etc. Exemplary devices that may be adapted for use in various embodiments of the present invention are described in the following commonly assigned applications, the entire disclosures of which are incorporated herein by reference for all purposes: U.S. Provisional Patent Application No. 60/147,889, entitled “Integrated Point OF Sale Device,” filed Aug. 9, 1999 by Randy J. Templeton et al.; U.S. patent application Ser. No. 09/634,901, entitled “Point of Sale Payment System,” filed Aug. 9, 2000 by Randy J. Templeton et al.; U.S. patent application Ser. No. 10/116,689, entitled “Systems and Methods for Performing Transactions at a Point-of-Sale,” filed Apr. 3, 2002 by Earney Stoutenburg et al.; U.S. patent application Ser. No. 10/116,733, entitled “Systems and Methods for Deploying a Point-of-Sale System,” filed Apr. 3, 2002 by Earney Stoutenburg et al.; U.S. patent application Ser. No. 10/116,686, entitled “Systems and Methods for Utilizing A Point-of-Sale System,” filed Apr. 3, 2002 by Earney Stoutenburg et al.; and U.S. patent application Ser. No. 10/116,735, entitled “Systems and Methods for Configuring a Point-of-Sale System,” filed Apr. 3, 2002 by Earney Stoutenburg.
A “POS processing system” and/or “merchant system” refers to a computational system used by merchants to control communications between POS devices and payment networks. Such systems may be run internally by merchants, may be run by merchant consortia, or may be outsourced to service providers in different embodiments. Some exemplary POS processing systems which may be adapted to operate with embodiments of the present invention are described in commonly assigned U.S. Pat. Nos. 6,886,742, 6,827,260 and 7,086,584, the complete disclosures of which are herein incorporated by reference.
The terms “real time” or “near real time” are used herein to refer to a process or action that occurs within a relatively short time. Importantly, the terms real time and near real time are not intended to imply an immediate or instantaneous results or action. Rather, the terms are used to refer to process or actions that can be performed relatively quickly such as within several seconds or minutes.
The ensuing description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the ensuing description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing an exemplary embodiment. It being understood that various changes may be made in the function and arrangement of elements without departing from the spirit and scope of the invention as set forth in the appended claims.
Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.
Also, it is noted that individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination corresponds to a return of the function to the calling function or the main function.
The term “machine-readable medium” includes, but is not limited to portable or fixed storage devices, optical storage devices, wireless channels and various other mediums capable of storing, containing or carrying instruction(s) and/or data. A code segment or machine-executable instructions may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.
Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine readable medium. A processor(s) may perform the necessary tasks.
Embodiments of the present invention provide methods, systems, and machine-readable media for handling information related to a financial transaction and/or processing such transactions including the use of a dynamic Primary Account Number (PAN) that can be generated utilizing a unique encryption key per card or other device. Generally speaking, a card (e.g., a smart card) or other device adapted for use as a payment instrument can be encoded with the real PAN and a unique, card-level key. An application within the card or device can dynamically, i.e., for each transaction, encrypt the real PAN using the card-level key and an one or more factors from the payment device or the POS reader such as unpredictable numbers or counters as will be described in detail below. That is, based on the real PAN and the unique, card-level key, the card or device can generate a dynamic PAN for the transaction. This dynamic PAN can then be used in the transaction instead of the real PAN. For example, the dynamic PAN can be provided to a merchant system, e.g., via a POS device, to pay for a purchase or to initiate a transaction. The dynamic PAN can then be submitted to a payment processor and/or financial institution via a payment network for approval and/or processing of the transaction. According to one embodiment, a portion of the real PAN can be retained and used “in the clear” as part of the dynamic PAN or otherwise as part of the transaction. For example, a portion of the real PAN used for routing of the transaction can be maintained in the clear, i.e., unencrypted, so that the transaction can be properly routed through the payment network or other network. According to another embodiment, the right-most four digits of the real PAN can be retained and re-used as the last four digits of the dynamic PAN, thereby allowing the truncated PAN on the printed receipt to look the same to the customer. According to another embodiment, the dynamic PAN can be constructed with a new prefix of 6 or more left-most digits, such that routing of the transactions using this new prefix results in the transaction being delivered to a payment processor with the keys and capability to decrypt the dynamic PAN to the real PAN.
Stated another way, embodiments of the present invention are directed to methods, systems, and machine-readable media for handling information related to a financial transaction including utilizing a set of dynamic cryptograms that are valid for a single transaction. According to one embodiment, a method of processing a financial transaction related to a financial account can comprise detecting initiation of the transaction with a device used as a presentation instrument in the transaction. A Dynamic Transaction Cryptogram (DTC) can be generated at the device. A dynamic PAN can also be generated at the device. The dynamic PAN can comprise an encrypted form of a real PAN of the financial account that is valid for a single transaction. Generating the dynamic PAN can be based on the real PAN, an Institution Key Card Variant (IKCV) stored on the device. The IKCV can be derived from the institution key of the issuer of the account. The dynamic PAN can also be based on an undeterminable number generated or received by the device. Generating the dynamic PAN can further comprise reading the real PAN from a memory of the device, generating Pseudo-PAN-Dynamic-Data (PPDD) representing the real PAN by combining the real PAN with the undeterminable number, and encrypting the PPDD using the card-level key. In some cases, an unencrypted portion of the real PAN can be included as part of the dynamic PAN. For example, the portion of the real PAN can comprise less than all of the real PAN and can include information for routing of the transaction to a financial institution. According to another embodiment, the right-most four digits of the real PAN can be retained and re-used as the last four digits of the dynamic PAN, thereby allowing the truncated PAN on the printed receipt to look the same to the customer. According to another embodiment, the dynamic PAN can be constructed with a new prefix of 6 or more left-most digits, such that routing of the transactions using this new prefix results in the transaction being delivered to a payment processor with the keys and capability to decrypt the dynamic PAN to the real PAN.
The DTC and the dynamic PAN can be provided by the device for use in the transaction. For example, providing the DTC and the dynamic PAN from the device for use in the transaction can comprise providing the dynamic PAN to a Point-of-Sale (POS) device. In such cases, the DTC and the dynamic PAN can be sent or provided from the POS device to a payment processor system. The real PAN of the financial account can then be determined at the payment processor system. The transaction can be authenticated based on the DTC at the payment processor system or at the financial institution. For example, determining the real PAN can comprise decrypting the dynamic PAN using a key maintained by the payment processor system and corresponding to the card-level key of the device. The real PAN can then be sent from the payment processor system to a financial institution to affect processing of the transaction.
It should be noted that, while described herein with reference to implementations utilizing a smart card, embodiments of the present invention are not limited to smart cards or any other particular payment instrument or form factor. Rather, embodiments of the present invention can be implemented used a smart card, mobile device including but not limited to a PDA, smart phone, cell phone, etc., or any other device adapted to perform the processes described herein. Furthermore, embodiments of the present invention are not limited to contactless transactions, i.e., transactions utilizing RFID or other Near-Field Communication (NFC) transmissions between the card or other device and a reader. Rather, various types of contact-based transmissions between the card or other device and a reader are considered to be within the scope of the present invention. Embodiments of the present invention are also not limited to any particular payment type or network. Furthermore, embodiments of the present invention are not limited to payment transactions. Rather, other types of transactions such as requesting refunds, checking account balances, initiating transfers, etc. are also considered to be within the scope of the present invention. Other implementations and variations on the embodiments described herein are contemplated and considered to be within the scope of the present invention. Additional details of various exemplary embodiments of the present invention will be described below with reference to the figures.
In some embodiments, the system 100 may also include a network 115. The network may can be any type of network familiar to those skilled in the art that can support data communications using any of a variety of commercially-available protocols, including without limitation TCP/IP, SNA, IPX, AppleTalk, and the like. Merely by way of example, the network 115 maybe a local area network (“LAN”), such as an Ethernet network, a Token-Ring network and/or the like; a wide-area network; a virtual network, including without limitation a virtual private network (“VPN”); the Internet; an intranet; an extranet; a public switched telephone network (“PSTN”); an infra-red network; a wireless network (e.g., a network operating under any of the IEEE 802.11 suite of protocols, the Bluetooth protocol known in the art, and/or any other wireless protocol); and/or any combination of these and/or other networks such as GSM, GPRS, EDGE, UMTS, 3G, 2.5 G, CDMA, CDMA2000, WCDMA, EVDO etc.
The system 100 can include one or more user computers which may be used to operate a client, whether a dedicate application, web browser, etc. For example, the user computers can include a client system 125 operated by a client financial institution, a customer system 130 operated by a customer or consumer, a merchant system 135 operated by a merchant or vendor, etc. The user computers 125, 130, 135 can be general purpose personal computers (including, merely by way of example, personal computers and/or laptop computers running various versions of Microsoft Corp.'s Windows and/or Apple Corp.'s Macintosh operating systems) and/or workstation computers running any of a variety of commercially-available UNIX or UNIX-like operating systems (including without limitation, the variety of GNU/Linux operating systems). These user computers 125, 130, 135 may also have any of a variety of applications, including one or more development systems, database client and/or server applications, and web browser applications. Alternatively, the user computers 125, 130, 135 may be any other electronic device, such as a thin-client computer, Internet-enabled mobile telephone, and/or personal digital assistant, capable of communicating via a network (e.g., the network 115 described below) and/or displaying and navigating web pages or other types of electronic documents. Although the exemplary system 100 is shown with three user computers, any number of user computers may be supported.
The system 100 may also include one or more databases or repositories of enabling data 145. The database(s) of enabling data 145 may reside in a variety of locations. By way of example, a database 145 may reside on a storage medium local to (and/or resident in) one or more of the computers 105, 110, 115, 125, 130. Alternatively, it may be remote from any or all of the computers 105, 110, 115, 125, 130, and/or in communication (e.g., via the network 120) with one or more of these. In a particular set of embodiments, the database 145 may reside in a storage-area network (“SAN”) familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers 105, 110, 115, 125, 130 may be stored locally on the respective computer and/or remotely, as appropriate. In one set of embodiments, the database 145 may be a relational database that is adapted to store, update, and retrieve data in response to SQL-formatted commands. The repository of enabling data 145 can include a wide variety of information related to financial transactions related to the consumer and/or specified by different entities such as merchants, financial institutions, third-party advertisers, etc. For example, the enabling data 145 can include a set of keys, i.e., private keys held by the payment processor and/or financial institution and relating to the card-level keys of the individual cards, and that can be used to decrypt the dynamic PAN to determine the real PAN for a transaction as will be described further below.
The computer system 200 may additionally include a computer-readable storage media reader 225; a communications system 230 (e.g., a modem, a network card (wireless or wired), an infra-red communication device, etc.); and working memory 240, which may include RAM and ROM devices as described above communicatively coupled with and readable by CPU(s) 205. In some embodiments, the computer system 200 may also include a processing acceleration unit 235, which can include a DSP, a special-purpose processor and/or the like.
The computer-readable storage media reader 225 can further be connected to a computer-readable storage medium, together (and, optionally, in combination with storage device(s) 220) comprehensively representing remote, local, fixed, and/or removable storage devices plus storage media for temporarily and/or more permanently containing computer-readable information. The communications system 230 may permit data to be exchanged with a network and/or any other computer or other type of device.
The computer system 200 may also comprise software elements, shown as being currently located within a working memory 240, including an operating system 245 and/or other code 250, such as an application program. The application programs may implement the methods of the invention as described herein. It should be appreciated that alternate embodiments of a computer system 200 may have numerous variations from that described above. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, software (including portable software, such as applets), or both. Further, connection to other computing devices such as network input/output devices may be employed.
Traditionally, a credit card may be issued to a customer by a financial institution such as a bank and typically displays a logo for an association that implements rules that govern aspects of use of the card. Account information is usually printed on the face of the card, specifying an account number and name of an authorized holder of the card; this information is also stored together with additional information on a magnetic stripe that is usually affixed to the back of the card. In other cases, other types of instruments in other form factors can be used in place of the traditional credit card and can store an account number for an account associated with the instrument and made available through a magnetic stripe or other medium.
According to embodiments of the present invention, rather than a traditional credit card, presentation instrument 305 can comprise a smart card, mobile device, or any other device capable of performing the functions described below. As illustrated here, the presentation instrument 305 includes a memory 310, a processor 320, and an NFC module 325 or other communication module. The memory 310 includes a variant of the institution key of the issuer of the instrument. That is, the institution key card variant (IKCV) 315 can be generated for the presentation instrument 305 by the payment processor system 350, financial institution 370 or 375 or other issuer of the instrument at the time of issuance and based on but distinct from an institution key for that issuer. Details of an exemplary process for generating the IKCV 315 are described below with reference to
When the cardholder wishes to execute a transaction, such as a financial transaction for the purchase of goods and/or services, he presents the presentation instrument 305 to a clerk at a merchant location, and/or passes or taps the presentation instrument 305 on or near the point-of-sale device 330. The point-of-sale device 330 may have been provided by a payment processor, who acts as an intermediary between merchants and the issuer financial institutions, coordinates transaction routing, and performs a variety of backend processes. Passing or tapping the presentation instrument near the POS device 330 can trigger the processor 320 of the presentation instrument 305 to read the IKCV 315, the unique card-level key 317 and real PAN 316 from memory 310. Based on this information, the processor can encrypt the real PAN 316 using the IKCV 315 and one or more factors from the payment device or the POS reader such as unpredictable numbers or counters, e.g., a time of day etc., to generate a dynamic PAN 326. The dynamic PAN 326 can be considered a dynamic, i.e., good for one use, cryptogram that represents but hides the real PAN 316. Details of an exemplary process for generating a dynamic PAN 326 are described below with reference to
According to one embodiment, the payment processor system 350 can maintain a key repository 355. The key repository 355 can store a key corresponding to each card-level key 317 for any number of presentation instruments 305. Generally speaking the key of the key repository 355 corresponding to the card-level key 317 of the presentation instrument 305 allows authentication module 361 to authenticate the presentation instrument 305 and/or the consumer using the presentation instrument 305 based on the received DTC 327. The decryption module 360 of the payment processor system 350 can decrypt the dynamic PAN 326 using the institution key for the issuer of the instrument and determine the real PAN 362 of the account associated with the presentation instrument 305. Once the real PAN 362 is determined, the payment processor system 350 can process the transaction, for example, by sending an authorization request, via financial network 365, to the issuing financial institution 370 or 375. The key repository of unique card level keys can be kept at the payment processor or at the financial institution, correspondingly the DTC authentication can be done at the payment processor or at the Financial Institution.
According to one embodiment, transaction requests, e.g., from the POS device 330 and/or merchant system 340 to the payment processor system 350, can convey card number and verification information using “Track-1” of a communication including a “Track 1” and a “Track 2”. An exemplary layout of Track-1 can be as follows:
An exemplary layout of Track-2 can be as follows:
According to one embodiment, the payment processor system 350 can receive Track-1 and Track-2 in an in-bound message from the POS device 330 and/or merchant system 340. The payment processor system 350 can decrypt the Dynamic PAN to determine the real PAN. The payment processor system 350 can then replace the dynamic PAN in Track-2 with the real PAN before forwarding the message to the issuer. The transaction can be authorized or denied depending on such factors as the validity of the cardholder name, the validity of the card number, the level of available credit in comparison with the transaction amount, and the like as known in the art. If authorized, an authorization code can be routed back from the financial institution 370 through the payment processor system 350 to the originating merchant system 340 and/or POS device 330 so that the transaction may be completed.
Stated another way, a device for initiating a financial transaction related to a financial account, such as presentation instrument 305, can comprise a processor 320, an output device such as NFC module 325 communicatively coupled with the processor 320, and a memory 310 communicatively coupled with and readable by the processor 320. The memory 310 can have stored therein a real Primary Account Number (PAN) 316 for the financial account, a unique, card-level key 317, and an Institution Key Card Variant (IKCV) that is a variant of an institution key of an issuer of the financial account. The memory 310 can also have stored therein a series of instructions, i.e., an application (not shown here) which, when executed by the processor 320, causes the processor 320 to detect initiation of the transaction, generate a DTC 327 using the card-level key 317 and generate a dynamic PAN 326 based on the real PAN 316, the card-level key 315, and one or more factors from the payment device or the POS reader such as unpredictable numbers or counters. For example, an undeterminable number can be a time of day, random number, ATC, or other number generated by the presentation instrument 305 or received by the presentation instrument 305, for example from the POS device 330 via the NFC modules 325 and 335. Additional details of an exemplary process for generating a dynamic PAN are described below with reference to
The system 300 can also include a payment processor system 350 communicatively coupled with the device (i.e., the presentation instrument 305) and adapted to receive the DTC 327 and the dynamic PAN 326 from the device and process the transaction. The payment processor system 350 can be adapted to authenticate the transaction based on the DTC 327 and determine the real PAN of the financial account based on the dynamic PAN. For example, the payment processor system 350 can maintain an institution key for the issuer of the account related to the presentation instrument 305, e.g., in key repository 355, and can determine the real PAN by decrypting the dynamic PAN, e.g., via decryption module 360, using the institution key of the issuer. The payment processor system 350 can be further adapted to then submit the real PAN to a financial institution to affect processing of the transaction.
A dynamic PAN can also be generated 405 at the device. As noted above, the dynamic PAN can comprise an encrypted form of a real PAN of the financial account that is valid for a single transaction. Generating 405 the dynamic PAN can be based on the real PAN, an IKCV stored in the device, and an undeterminable number generated or received by the device. Additional details of an exemplary process for generating a dynamic PAN are described below with reference to
The payment processor system can receive 430 the DTC and dynamic PAN from the device, e.g., from the POS device or merchant system depending upon the implementation. The real PAN of the financial account can then be determined 432 at the payment processor system. For example, determining 432 the real PAN can comprise decrypting the dynamic PAN using an institution key of the issuer of the presentation instrument maintained by the payment processor system and corresponding to the IKCV of the device. The real PAN can then be used to retrieve the card level key for that device and validate the DTC using the unique card level key. If the DTC is authenticated 435, the real PAN can then be sent 440 from the payment processor system to a financial institution to affect processing of the transaction. For example, a payment transaction can be forwarded to the issuing financial institution for approval as known in the art. In such a case or as appropriate to the type of transaction, a response from the financial institution may be received 445 by the payment processor system. Such a response may be forwarded or returned 450 to the POS device or merchant system to indicate approval and/or completion of the transaction.
More specifically, the following example is provided to demonstrate calculation and use of a dynamic PAN as may be performed by a device used as a presentation instrument in a financial transaction according to embodiments of the present invention. In this example and those below, the following names and abbreviations are used:
An exemplary real PAN that can be used in this example can consist of the following components:
An exemplary pseudo PAN that can be based on this example can consist of the following components:
Based on these assumptions, the dynamic PAN for real PAN 6787650086933734 can be calculated per the following exemplary process:
-
- Take the leading digits (LD) of the true PAN. The length of LD can be PANLEN minus four. In this example, LD is 678765008693. LD-length is 12
- Pad LD on the right with 0 to a length of 16 to create LDPAD.
- Create a 16-digit LDVAR string left to right as follows:
- Four digit UN
- Four digit ATC
- Four digit UN
- Four digit ATC
- Interpreting LDPAD and LDVAR as hex digits, perform a hex-to-binary conversion of LDPAD and LDVAR creating two 64-bit variables LDPAD-B and LDVAR-B respectively.
- Perform an XOR of LDPAD-B with LDVAR-B resulting in 64-bit pseudo-pan-dynamic-data (PPDD).
- Use 3-DES or other algorithm to encrypt the binary PPDD using IKCV resulting in the 64-bit PPDD-cryptogram (EPPDD).
- Unpack EPPDD (64-bits) into a 22 digit string of octal digits (0 through 7) called DPPDD as follows. In the description below, each letter can be a bit in the EPPDD. The bits sharing the same letter contribute to the octal digit in DPPDD. The BITS field can be a 64 bit number displayed as four 16-digit components. The OCTAL field can be a 22-byte character string.
- Bits: vtusSSnrQQQppp U000NNNmmmLLLkkk UjjjIIIhhhGGGfff UeeeDDDcccBBBaaa
- Octal: vutsrqponmlkjihgfedcba
- Process: Build the octal string from right to left. Starting at the most right hand of the four 16-bit components of EPPDD, extract 3 bits at a time right to left creating an octal digit for each 3 bits. Do not use the high order bit of each 16-bit integer during this part of the extraction. After processing the four 16-bit integers, you will have emitted 20 octal digits. Now use the most left hand (sign) bit of the three low order 16-bit integers, right to left, to construct another octal digit and prepend this to the left of the 20 digits already emitted. Finally, take the most left-hand (sign) bit of the first (left-hand) 16-bit integer and prepend the last digit (which will be either zero or one).
- Construct the dynamic pan (in this example, 16 digits) by building it left to right as follows:
- SCD Prefix (555555)
- Central digits. These are the last (most right hand) n digits of DPPDD where n=PANLEN−11.
- Pseudo check digit=0.
- Receipt digits=3734 (last four digits of true pan)
- Calculate the LUHN check digit of the dynamic pan. If the check digit (last digit of the receipt digits) is not the correct check digit, adjust the pseudo-check-digit such that the Luhn calculation matches the check digit.
- This adjustment can be made thus: Start with 0 in this pseudo-check digit. Compute the Luhn algorithm and determine the Luhn total that needs to pass the Mod 10 test. If the Luhn test passes OK, leave the pseudo-check digit as 0. if the Mod 10 test fails, take the Mod 10 remainder and subtract that from 10, that resultant value becomes the pseudo-check digit. This will keep the actual check digit (the right-most digit of the PAN) be the same on the dynamic PAN and the real PAN and allow both PANs to pass the Luhn check.
- The DPPDD digits that are not used in the dynamic pan central digits can be stored in the Track-1 field dynamic-pan-extension.
A variant string (DTCVAR) can be created 610. This variant string can be created, for example, by concatenating the following sequences of characters: UN (4), EXP (4), ATC (4), UN (4). The PAN digit string and variant string can be converted 615 to binary. That is DTCPAN and DTCVAR can be treated as hex characters and converted to binary format (e.g., 64-bit integers). Data, (DTCDATA) can be generated 620 from the binary DTCPAN and DTCVAR. For example, generating 620 DTCDATA can comprise performing a binary XOR of DTCVAR and DTCPAN. The resulting number (DTCDATA) can be encrypted 625 using the CK resulting in EDTCDATA. The encrypted data (EDTCDATA) can be converted 630 to decimal to create a DTCREM string as follows:
-
- Do bit extraction of the right-hand most 3 bits producing a value 0 through 7.
- If the fourth-from-right bit is a 1, add 1 to the result.
- If the fifth-from-right bit is a 1, add 1 to the result.
- Example 1: Byte has binary value 01100101—result is 5.
- Example 2: Byte has binary value 01111000—result is 2.
- Example 3: Byte has binary value 11111111—result is 9.
The DTC can then be selected 635 from the DTCREM. For example, the DTC can be the right hand (least significant) six digits of DTCREM.
-
- Last four (receipt) digits of the PAN.
- Member number (two bytes)
- Device Sequence number (two bytes)
- Four digit expiration date (YYMM)
- Last four (receipt) digits of the PAN
An intermediate key (IKVGENX) can be created 710, for example, by performing an XOR of both left and right halves of IKVGEN with IKCVGENDATA. IKVGENX can then be encrypted with the institution key IK resulting in IKCV.
In the foregoing description, for the purposes of illustration, methods were described in a particular order. It should be appreciated that in alternate embodiments, the methods may be performed in a different order than that described. Additionally, the methods may contain additional or fewer steps than described above. It should also be appreciated that the methods described above may be performed by hardware components or may be embodied in sequences of machine-executable instructions, which may be used to cause a machine, such as a general-purpose or special-purpose processor or logic circuits programmed with the instructions, to perform the methods. These machine-executable instructions may be stored on one or more machine readable mediums, such as CD-ROMs or other type of optical disks, floppy diskettes, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, flash memory, or other types of machine-readable mediums suitable for storing electronic instructions. Alternatively, the methods may be performed by a combination of hardware and software.
While illustrative and presently preferred embodiments of the invention have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed, and that the appended claims are intended to be construed to include such variations, except as limited by the prior art.
Claims
1. A method of processing a financial transaction by a user and related to a financial account having a real Primary Account Number (PAN), the method comprising:
- initiating a transaction with a device used as a presentation instrument in the transaction;
- generating, with the processor, a Dynamic Transaction Cryptogram (DTC) at the device that is valid for a single transaction, the DTC encrypted at the device using a card key and based on personal information that is known to the user and that identifies the user;
- generating, with the processor, a dynamic PAN at the device, the dynamic PAN comprising an encrypted form of the real PAN that is valid for the single transaction; and
- providing both the DTC and the dynamic PAN from the device to a Point-of-Sale (POS) device for use in the transaction, wherein the provided dynamic PAN is decrypted in order to determine the real PAN for processing of the transaction, wherein the real PAN that is determined from the provided dynamic PAN is then used to retrieve a key corresponding to the card key, and wherein the DTC is provided in order to authenticate the transaction, using the retrieved key.
2. The method of claim 1, wherein the DTC and dynamic PAN are provided to a payment processor through the Point-of-Sale (POS) device, and wherein the dynamic PAN is decrypted at the payment processor to determine the real PAN.
3. The method of claim 2, further comprising authenticating the transaction at the payment processor system based on the DTC.
4. The method of claim 1, wherein generating the dynamic PAN at the device is based on the real PAN, an Institution Key Card Variant (IKCV) that is a variant of an institution key of an issuer of the financial account stored in the device, and an undeterminable number generated or received by the device.
5. The method of claim 4, wherein generating the dynamic PAN comprises:
- reading the real PAN from a memory of the device;
- generating Pseudo-PAN-Dynamic-Data (PPDD) representing the real PAN by combining the real PAN with the undeterminable number; and
- encrypting the PPDD using the IKCV.
6. The method of claim 5, further comprising including an unencrypted portion of the real PAN in the dynamic PAN.
7. The method of claim 6, wherein the portion of the real PAN comprises less than all of the real PAN and includes information for routing of the transaction to a financial institution.
8. The method of claim 7, wherein the dynamic PAN is constructed with a new prefix of 6 or more left-most digits, such that routing of the transactions using the new prefix results in the transaction being delivered to a payment processor with keys and capability to decrypt the dynamic PAN.
9. The method of 1, further comprising determining the real PAN of the financial account at the payment processing system.
10. The method of claim 9, further comprising submitting the real PAN from the payment processor system to a financial institution to affect processing of the transaction.
11. The method of claim 1, wherein the DTC and the dynamic PAN are provided from the device to the POS device via contactless-based transmission.
12. The method of claim 1, wherein the DTC and the dynamic PAN are provided from the device to the POS device via contact-based transmission.
13. A method of processing a financial transaction by a user and related to a financial account having a real Primary Account Number (PAN), the method comprising:
- detecting, with one or more processors, initiation of the transaction with a device used as a presentation instrument in the transaction;
- generating, with one of the processors, a Dynamic Transaction Cryptogram (DTC) at the device that is valid for a single transaction, the DTC encrypted using a card key associated with the device and the DTC based on personal information that is known to the user and that identifies the user;
- generating, with one of the processors, a dynamic PAN at the device, the dynamic PAN comprising an encrypted form of the real PAN that is valid for the single transaction; and
- providing the DTC and the dynamic PAN from the device to a payment processing system;
- decrypting, at a payment processing system, the dynamic PAN in order to determine the real PAN;
- using the real PAN to retrieve, with one of the processors, a key corresponding to the card key; and
- determining whether the transaction is valid by authenticating, with one of the processors, the DTC using the retrieved key.
14. The method of claim 13, further comprising submitting the real PAN from the payment processor system to a financial institution to affect processing of the transaction.
15. The method of claim 13, wherein the DTC and the dynamic PAN are provided from the device via a POS device and contactless-based transmission.
16. The method of claim 13, wherein the DTC and the dynamic PAN are provided from the device via POS device and contact-based transmission.
17. A system for processing a financial transaction against a financial account having a real Primary Account Number (PAN), comprising:
- a device used as a presentation instrument by a user for conducting a transaction; and
- a payment processor system for processing the transaction;
- the presentation instrument programmed for: detecting initiation of the transaction with the device; generating a Dynamic Transaction Cryptogram (DTC) at the device that is valid for a single transaction, the DTC encrypted using a card key associated with the device and the DTC based on personal information that is known to the user and that identifies the user; generating a dynamic PAN at the device, the dynamic PAN comprising an encrypted form of the real PAN that is valid for the single transaction; and providing the DTC and the dynamic PAN from the device to the payment processing system;
- the payment processing system for: decrypting, at a payment processing system, the dynamic PAN in order to determine the real PAN; using the real PAN to retrieve, with one of the processors, a key corresponding to the card key; and
- determining whether the transaction is valid by authenticating, with one of the processors, the DTC using the retrieved key.
18. The method of claim 17, further comprising submitting the real PAN from the payment processor system to a financial institution to affect processing of the transaction.
19. The method of claim 17, wherein the DTC and the dynamic PAN are provided from the device via a POS device and contactless-based transmission.
20. The method of claim 17, wherein the DTC and the dynamic PAN are provided from the device via a POS device and contact-based transmission.
Type: Application
Filed: Jul 5, 2018
Publication Date: Nov 1, 2018
Applicant: First Data Corporation (Coral Springs, FL)
Inventors: VIJAY K. ROYYURU (Norristown, PA), Robert P. Klotz (Lafayette Hill, PA)
Application Number: 16/028,063