This disclosed subject matter relates generally to methods, systems, and products for communicating pins and other sensitive data and, in some particular embodiments or aspects, to methods, systems, and computer program products for securely transmitting pins and other sensitive data.
Credit and debit-card payment transactions are processed by a large number of parties, including point-of-sale (POS) terminals, payment gateways, merchant banks, payment networks and consumer banks. To reduce fraudulent transactions, the payments ecosystem commonly deploys personal identification number (PIN) based authentication, where a consumer enters a PIN into a terminal, which is transmitted in an encrypted form—along with other sensitive data, such as a primary account number (PAN)—across the entire network to the consumer's bank, which verifies the PIN before authorizing the transaction. Not surprisingly, payment card industry (PCI) regulations mandate that the PIN is never exposed in the clear to any party. Present deployments achieve compliance by using hardware security modules (HSMs) at each intermediary to decrypt-then-encrypt the PIN before forwarding to the next party.
As a result, HSMs are proliferated across all intermediaries, starting from the payment gateways. This incurs significant costs, in part due to the purchase and maintenance of these HSMs, and in part due to the burden of observing and policing PCI compliance. Moreover, HSMs become a performance bottleneck, as the maximum throughput of payment transactions at any party depends on the number of available HSMs at that party, creating further issues during occasional spikes in traffic, such as during holidays. For example, some payment networks process on average 5,000 transactions per second, and are designed to handle upwards of 60,000 transactions per second; therefore, a large number of HSMs must be deployed to ensure sufficient hardware parallelism to handle this throughput.
Accordingly, it is an object of the presently disclosed subject matter to provide methods, systems, and computer program products for securely transmitting personal identification numbers (PINs) and other sensitive data.
According to some non-limiting embodiments or aspects, provided are a method, a system, and a computer program product that generate, with a point-of-sale (POS) terminal, a first ciphertext associated with a transaction, the first ciphertext comprising: (i) a first ciphertext value associated with a randomly selected key (r), the first ciphertext value encrypted based on the randomly selected key (r) and a generator value (g); and (ii) a second ciphertext value associated with a first public key (pk1) of a first pair of keys comprising a first public key (pk1) and a first secret key (sk1), the first public key (pk1) generated based on the first secret key (sk1) and the generator value (g), the second ciphertext value encrypted based on transaction data associated with the transaction and a symmetric key (K) generated based on the first public key (pk1) and the randomly selected key (r); communicate, with the POS terminal, the first ciphertext to at least one payment gateway; re-encrypt, with the at least one payment gateway, the first ciphertext value with a first re-encryption key to transform the first ciphertext value encrypted under the first public key (pk1) to a re-encrypted first ciphertext value encrypted under a second public key (pk2) associated with the at least one payment gateway; communicate, with the at least one payment gateway, the re-encrypted first ciphertext value and the second ciphertext value to at least one merchant bank; re-encrypt, with the at least one merchant bank, the re-encrypted first ciphertext value encrypted with a second re-encryption key to transform the re-encrypted first ciphertext value encrypted under the second public key (pk2) of the at least one payment gateway to a second re-encrypted first ciphertext value under a third public key (pk3) of the at least one merchant bank; communicate, with the at least one merchant bank, the second re-encrypted first ciphertext value and the second ciphertext value to a payment network; re-encrypt, with the payment network, the second re-encrypted first ciphertext value encrypted with a third re-encryption key to transform the second re-encrypted first ciphertext value encrypted under the third public key (pk3) of the at least one merchant bank to a third re-encrypted first ciphertext value under a fourth public key (pk4) of the payment network; communicate, with the payment network, the third re-encrypted first ciphertext value and the second ciphertext value to at least one consumer bank; determine, with the at least one consumer bank, the symmetric key (K) based on the third re-encrypted first ciphertext value and a secret key of the consumer bank; and decrypt, with the at least one consumer bank, the second ciphertext value based on the symmetric key (K) to obtain the transaction data.
According to some non-limiting embodiments or aspects, provided are a method, a system, and a computer program product that receive, at a payment gateway, a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; communicate, from the payment gateway to a point-of-sale system, the merchant bank public key; receive, from the point-of-sale system, at least one re-encryption key, the at least one re-encryption key based on a private key associated with the point-of-sale system and the merchant bank public key; receive, from the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system and corresponding to the private key associated with the point-of-sale system; determine, with the payment gateway, a re-encryption key from the at least one re-encryption key based on the encrypted transaction data; re-encrypt, with the payment gateway, the encrypted session key with the re-encryption key; and communicate, with the payment gateway, the re-encrypted encrypted session key to a merchant bank system.
According to some non-limiting embodiments or aspects, provided are a method, a system, and a computer program product that generate, with a point-of-sale system, a public key and a private key associated with the point-of-sale system; receive, at the point-of-sale system, a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; generate, with a point-of-sale system, at least one re-encryption key based on the private key associated with the point-of-sale system; communicate, from the point-of-sale system to a payment gateway, the at least one re-encryption key; generate, with the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with the public key associated with the point-of-sale system; and communicate, from the point-of-sale system to the payment gateway, the encrypted transaction data.
According to some non-limiting embodiments or aspects, provided are a method, a system, and a computer program product that generate, with a merchant bank system, a public key and a private key associated with the merchant bank system; communicate, with the merchant bank system to a payment gateway, the public key associated with the merchant bank system; receive, with the merchant bank system from the payment gateway, encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) a re-encrypted encrypted session key comprising an encrypted session key encrypted with a re-encryption key, the encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system; and decrypting, with the merchant bank system, the re-encrypted encrypted session key based on the private key associated with the merchant bank system.
According to some non-limiting embodiments or aspects, provided are a method, a system, and a computer program product that receive or generate, with a transaction processing system, an issuer key pair comprising an issuer public key and a corresponding issuer private key, the issuer key pair associated with an issuer system; receive or generate, with the transaction processing system, a merchant bank key pair comprising a merchant bank public key and a corresponding merchant bank private key, the merchant bank key pair associated with a merchant bank system; generate, with the transaction processing system, at least one re-encryption key based at least partially on the issuer key pair and the merchant bank key pair; receive, from the merchant bank system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising a session key encrypted with the merchant bank public key; re-encrypt the encrypted session key with the at least one re-encryption key; and communicate the re-encrypted encrypted session key and the encrypted code to the issuer system.
According to some non-limiting embodiments or aspects, provided are a method, a system, and a computer program product that generate, with a payment network, a first value (a) and a second value (ga), the second value (ga) generated based on the first value (a) and a generator value (g); generate, with the payment network, a plurality of random merchant numbers (mi) for a respective plurality of merchant banks; determine, with the payment network, a merchant product (M) based on a product of the plurality of random merchant numbers (mi) for the respective plurality of merchant banks; generate, with the payment network, a public key (pki) based on the second value (ga), the merchant product (M), and the random merchant number (mi) and a random key ORO based on the merchant product (M) and the random merchant number (mi) for each respective merchant bank of the plurality of merchant banks; and communicate, with the payment network, the public key (pki) and the random key (rki) to at least one respective merchant bank.
Further non-limiting embodiments or aspects are set forth in the following numbered clauses:
Clause 1. A computer-implemented method comprising: generating, with a point-of-sale (POS) terminal, a first ciphertext associated with a transaction, the first ciphertext comprising: (i) a first ciphertext value associated with a randomly selected key (r), the first ciphertext value encrypted based on the randomly selected key (r) and a generator value (g); and (ii) a second ciphertext value associated with a first public key (pk1) of a first pair of keys comprising a first public key (pk1) and a first secret key (sk1), the first public key (pk1) generated based on the first secret key (sk1) and the generator value (g), the second ciphertext value encrypted based on transaction data associated with the transaction and a symmetric key (K) generated based on the first public key (pk1) and the randomly selected key (r); communicating, with the POS terminal, the first ciphertext to at least one payment gateway; re-encrypting, with the at least one payment gateway, the first ciphertext value with a first re-encryption key to transform the first ciphertext value encrypted under the first public key (pk1) to a re-encrypted first ciphertext value encrypted under a second public key (pk2) associated with the at least one payment gateway; communicating, with the at least one payment gateway, the re-encrypted first ciphertext value and the second ciphertext value to at least one merchant bank; re-encrypting, with the at least one merchant bank, the re-encrypted first ciphertext value encrypted with a second re-encryption key to transform the re-encrypted first ciphertext value encrypted under the second public key (pk2) of the at least one payment gateway to a second re-encrypted first ciphertext value under a third public key (pk3) of the at least one merchant bank; communicating, with the at least one merchant bank, the second re-encrypted first ciphertext value and the second ciphertext value to a payment network; re-encrypting, with the payment network, the second re-encrypted first ciphertext value encrypted with a third re-encryption key to transform the second re-encrypted first ciphertext value encrypted under the third public key (pk3) of the at least one merchant bank to a third re-encrypted first ciphertext value under a fourth public key (pk4) of the payment network; communicating, with the payment network, the third re-encrypted first ciphertext value and the second ciphertext value to at least one consumer bank; determining, with the at least one consumer bank, the symmetric key (K) based on the third re-encrypted first ciphertext value and a secret key of the consumer bank; and decrypting, with the at least one consumer bank, the second ciphertext value based on the symmetric key (K) to obtain the transaction data.
Clause 2. The computer-implemented method of clause 1, wherein an intermediary server translates between multiple different parties by decrypting the second ciphertext value and using a portion of the transaction data to determine routing and a corresponding re-encryption key for a subsequent communication.
Clause 3. The computer-implemented method of clauses 1 or 2, wherein the transaction data includes at least one of a mobile personal identification number (PIN), a card verification number, or a card number associated therewith.
Clause 4. The computer-implemented method of any of clauses 1-3, wherein the second ciphertext value is used to encrypt a personal identification number (PIN) under the randomly selected key (r) protected by the first ciphertext value, and wherein a re-encryption generates a new ciphertext value while the second ciphertext value is unchanged.
Clause 5. A system comprising: a point-of-sale (POS) terminal including one or more processors, wherein the POS terminal is programmed and/or configured to: generate a first ciphertext associated with a transaction, the first ciphertext comprising: (i) a first ciphertext value associated with a randomly selected key (r), the first ciphertext value encrypted based on the randomly selected key (r) and a generator value (g); and (ii) a second ciphertext value associated with a first public key (pk1) of a first pair of keys comprising a first public key (pk1) and a first secret key (sk1), the first public key (pk1) generated based on the first secret key (sk1) and the generator value (g), the second ciphertext value encrypted based on transaction data associated with the transaction and a symmetric key (K) generated based on the first public key (pk1) and the randomly selected key (r); and communicate the first ciphertext to at least one payment gateway; the at least one payment gateway including one or more processors, wherein the at least one payment gateway is programmed and/or configured to: re-encrypt the first ciphertext value with a first re-encryption key to transform the first ciphertext value encrypted under the first public key (pk1) to a re-encrypted first ciphertext value encrypted under a second public key (pk2) associated with the at least one payment gateway; and communicate the re-encrypted first ciphertext value and the second ciphertext value to at least one merchant bank; the at least one merchant bank including one or more processors, wherein the at least one merchant bank is programmed and/or configured to: re-encrypt the re-encrypted first ciphertext value encrypted with a second re-encryption key to transform the re-encrypted first ciphertext value encrypted under the second public key (pk2) of the at least one payment gateway to a second re-encrypted first ciphertext value under a third public key (pk3) of the at least one merchant bank; and communicate the second re-encrypted first ciphertext value and the second ciphertext value to a payment network; the payment network including one or more processors, wherein the payment network is programmed and/or configured to: re-encrypt the second re-encrypted first ciphertext value encrypted with a third re-encryption key to transform the second re-encrypted first ciphertext value encrypted under the third public key (pk3) of the at least one merchant bank to a third re-encrypted first ciphertext value under a fourth public key (pk4) of the payment network; and communicate the third re-encrypted first ciphertext value and the second ciphertext value to at least one consumer bank; and the at least one consumer bank including one or more processors, wherein the at least one consumer bank is programmed and/or configured to: determine the symmetric key (K) based on the third re-encrypted first ciphertext value and a secret key of the consumer bank; and decrypt the second ciphertext value based on the symmetric key (K) to obtain the transaction data.
Clause 6. The system of clause 5, further comprising: an intermediary server programmed and/or configured to translate between multiple different parties by decrypting the second ciphertext value and using a portion of the transaction data to determine routing and a corresponding re-encryption key for a subsequent communication.
Clause 7. The system of clauses 5 or 6, wherein the transaction data includes at least one of a mobile personal identification number (PIN), a card verification number, or a card number associated therewith.
Clause 8. The system of any of clauses 5-7, wherein the second ciphertext value is used to encrypt a personal identification number (PIN) under the randomly selected key (r) protected by the first ciphertext value, and wherein a re-encryption generates a new ciphertext value while the second ciphertext value is unchanged.
Clause 9. A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to: generate, with a point-of-sale (POS) terminal, a first ciphertext associated with a transaction, the first ciphertext comprising: (i) a first ciphertext value associated with a randomly selected key (r), the first ciphertext value encrypted based on the randomly selected key (r) and a generator value (g); and (ii) a second ciphertext value associated with a first public key (pk1) of a first pair of keys comprising a first public key (pk1) and a first secret key (sk1), the first public key (pk1) generated based on the first secret key (sk1) and the generator value (g), the second ciphertext value encrypted based on transaction data associated with the transaction and a symmetric key (K) generated based on the first public key (pk1) and the randomly selected key (r); communicate, with the POS terminal, the first ciphertext to at least one payment gateway; re-encrypt, with the at least one payment gateway, the first ciphertext value with a first re-encryption key to transform the first ciphertext value encrypted under the first public key (pk1) to a re-encrypted first ciphertext value encrypted under a second public key (pk2) associated with the at least one payment gateway; communicate, with the at least one payment gateway, the re-encrypted first ciphertext value and the second ciphertext value to at least one merchant bank; re-encrypt, with the at least one merchant bank, the re-encrypted first ciphertext value encrypted with a second re-encryption key to transform the re-encrypted first ciphertext value encrypted under the second public key (pk2) of the at least one payment gateway to a second re-encrypted first ciphertext value under a third public key (pk3) of the at least one merchant bank; communicate, with the at least one merchant bank, the second re-encrypted first ciphertext value and the second ciphertext value to a payment network; re-encrypt, with the payment network, the second re-encrypted first ciphertext value encrypted with a third re-encryption key to transform the second re-encrypted first ciphertext value encrypted under the third public key (pk3) of the at least one merchant bank to a third re-encrypted first ciphertext value under a fourth public key (pk4) of the payment network; communicate, with the payment network, the third re-encrypted first ciphertext value and the second ciphertext value to at least one consumer bank; determine, with the at least one consumer bank, the symmetric key (K) based on the third re-encrypted first ciphertext value and a secret key of the consumer bank; and decrypt, with the at least one consumer bank, the second ciphertext value based on the symmetric key (K) to obtain the transaction data.
Clause 10. The computer program product of clause 9, wherein an intermediary server translates between multiple different parties by decrypting the second ciphertext value and using a portion of the transaction data to determine routing and a corresponding re-encryption key for a subsequent communication.
Clause 11. The computer program product of clauses 9 or 10, wherein the transaction data includes at least one of a mobile personal identification number (PIN), a card verification number, or a card number associated therewith.
Clause 12. The computer program product of any of clauses 9-11, wherein the second ciphertext value is used to encrypt a personal identification number (PIN) under the randomly selected key (r) protected by the first ciphertext value, and wherein a re-encryption generates a new ciphertext value while the second ciphertext value is unchanged.
Clause 13. A method for encrypting an authentication code, comprising: receiving, at a payment gateway, a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; communicating, from the payment gateway to a point-of-sale system, the merchant bank public key; receiving, from the point-of-sale system, at least one re-encryption key, the at least one re-encryption key based on a private key associated with the point-of-sale system and the merchant bank public key; receiving, from the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system and corresponding to the private key associated with the point-of-sale system; determining, with the payment gateway, a re-encryption key from the at least one re-encryption key based on the encrypted transaction data; re-encrypting, with the payment gateway, the encrypted session key with the re-encryption key; and communicating, with the payment gateway, the re-encrypted encrypted session key to a merchant bank system.
Clause 14. The method of clause 13, wherein the point-of-sale system comprises at least one of the following: a point-of-sale terminal, a server computer associated with a merchant or merchant bank system, a server computer associated with a point-of-sale service provider, or any combination thereof.
Clause 15. The method of clauses 13 or 14, wherein the at least one re-encryption key comprises a plurality of re-encryption keys, and wherein each re-encryption key of the plurality of re-encryption keys corresponds with a public key of a plurality of merchant bank public keys, the plurality of merchant bank public keys including the merchant bank public key.
Clause 16. The method of any of clauses 13-15, wherein the at least one re-encryption key is generated by the point-of-sale system.
Clause 17. The method of any of clauses 13-16, wherein the private key associated with the point-of-sale system corresponds to a public key, and wherein the private key and public key associated with the point-of-sale system are generated by the point-of-sale system.
Clause 18. The method of any of clauses 13-17, further comprising: receiving or generating, at a transaction processing system, an issuer public key corresponding to an issuer private key, the issuer public key and the issuer private key associated with an issuer system; generating, with the transaction processing system, at least one second re-encryption key based on the issuer private key and the merchant bank private key or a second merchant bank private key; re-encrypting the encrypted session key with the at least one second re-encryption key; and communicating the re-encrypted encrypted session key to the issuer system.
Clause 19. The method of any of clauses 13-18, further comprising: generating, by the merchant bank system or the payment gateway, an authorization request message in response to verifying the authentication code; and communicating, by the merchant bank system or the payment gateway, the authorization request message to a transaction processing system.
Clause 20. A method for encrypting an authentication code, comprising: generating, with a point-of-sale system, a public key and a private key associated with the point-of-sale system; receiving, at the point-of-sale system, a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; generating, with a point-of-sale system, at least one re-encryption key based on the private key associated with the point-of-sale system; communicating, from the point-of-sale system to a payment gateway, the at least one re-encryption key; generating, with the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with the public key associated with the point-of-sale system; and communicating, from the point-of-sale system to the payment gateway, the encrypted transaction data.
Clause 21. The method of clause 20, wherein the point-of-sale system comprises at least one of the following: a point-of-sale terminal, a server computer associated with a merchant or merchant bank system, a server computer associated with a point-of-sale service provider, or any combination thereof.
Clause 22. The method of clauses 20 or 21, wherein the at least one re-encryption key comprises a plurality of re-encryption keys, and wherein each re-encryption key of the plurality of re-encryption keys corresponds with a public key of a plurality of merchant bank public keys, the plurality of merchant bank public keys including the merchant bank public key.
Clause 23. A method for encrypting an authentication code, comprising: generating, with a merchant bank system, a public key and a private key associated with the merchant bank system; communicating, with the merchant bank system to a payment gateway, the public key associated with the merchant bank system; receiving, with the merchant bank system from the payment gateway, encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) a re-encrypted encrypted session key comprising an encrypted session key encrypted with a re-encryption key, the encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system; and decrypting, with the merchant bank system, the re-encrypted encrypted session key based on the private key associated with the merchant bank system.
Clause 24. The method of clause 23, further comprising: generating, with the merchant bank system, an authorization request message in response to verifying the authentication code; and communicating, with the merchant bank system, the authorization request message to a transaction processing system.
Clause 25. A method for encrypting an authentication code, comprising: receiving or generating, with a transaction processing system, an issuer key pair comprising an issuer public key and a corresponding issuer private key, the issuer key pair associated with an issuer system; receiving or generating, with the transaction processing system, a merchant bank key pair comprising a merchant bank public key and a corresponding merchant bank private key, the merchant bank key pair associated with a merchant bank system; generating, with the transaction processing system, at least one re-encryption key based at least partially on the issuer key pair and the merchant bank key pair; receiving, from the merchant bank system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising a session key encrypted with the merchant bank public key; re-encrypting the encrypted session key with the at least one re-encryption key; and communicating the re-encrypted encrypted session key and the encrypted code to the issuer system.
Clause 26. The method of clause 25, further comprising: receiving, with the issuer system, the re-encrypted encrypted session key from the transaction processing system; decrypting, with the issuer system, the re-encrypted encrypted session key based at least partially on the issuer private key; and decrypting, with the issuer system, the encrypted code based at least partially on the session key.
Clause 27. A system for encrypting an authentication code, comprising a payment gateway including at least one processor programmed or configured to: receive a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; communicate, to a point-of-sale system, the merchant bank public key; receive, from the point-of-sale system, at least one re-encryption key, the at least one re-encryption key based on a private key associated with the point-of-sale system and the merchant bank public key; receive, from the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system and corresponding to the private key associated with the point-of-sale system; determine a re-encryption key from the at least one re-encryption key based on the encrypted transaction data; re-encrypt the encrypted session key with the re-encryption key; and communicate the re-encrypted encrypted session key to a merchant bank system.
Clause 28. The system of clause 27, wherein the point-of-sale system comprises at least one of the following: a point-of-sale terminal, a server computer associated with a merchant or merchant bank system, a server computer associated with a point-of-sale service provider, or any combination thereof.
Clause 29. The system of clauses 27 or 28, wherein the at least one re-encryption key comprises a plurality of re-encryption keys, and wherein each re-encryption key of the plurality of re-encryption keys corresponds with a public key of a plurality of merchant bank public keys, the plurality of merchant bank public keys including the merchant bank public key.
Clause 30. The system of any of clauses 27-29, wherein the at least one re-encryption key is generated by the point-of-sale system.
Clause 31. The system of any of clauses 27-30, wherein the private key associated with the point-of-sale system corresponds to a public key, and wherein the private key and public key associated with the point-of-sale system are generated by the point-of-sale system.
Clause 32. The system of any of clauses 27-31, further comprising a transaction processing system including at least one processor programmed or configured to: receive or generate an issuer public key corresponding to an issuer private key, the issuer public key and the issuer private key associated with an issuer system; generate at least one second re-encryption key based on the issuer private key and the merchant bank private key or a second merchant bank private key; re-encrypt the encrypted session key with the at least one second re-encryption key; and communicate the re-encrypted encrypted session key to the issuer system.
Clause 33. The system of any of clauses 27-32, wherein the at least one processor of the payment gateway or at least one processor of the merchant bank system is programmed or configured to: generate an authorization request message in response to verifying the authentication code; and communicate the authorization request message to a transaction processing system.
Clause 34. A system for encrypting an authentication code, comprising a point-of-sale system including at least one processor programmed or configured to: generate a public key and a private key associated with the point-of-sale system; receive a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; generate at least one re-encryption key based on the private key associated with the point-of-sale system; communicate, to a payment gateway, the at least one re-encryption key; generate encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with the public key associated with the point-of-sale system; and communicate, to the payment gateway, the encrypted transaction data.
Clause 35. The system of clause 34, wherein the point-of-sale system comprises at least one of the following: a point-of-sale terminal, a server computer associated with a merchant or merchant bank system, a server computer associated with a point-of-sale service provider, or any combination thereof.
Clause 36. The system of clauses 34 or 35, wherein the at least one re-encryption key comprises a plurality of re-encryption keys, and wherein each re-encryption key of the plurality of re-encryption keys corresponds with a public key of a plurality of merchant bank public keys, the plurality of merchant bank public keys including the merchant bank public key.
Clause 37. A system for encrypting an authentication code, comprising a merchant bank system including at least one processor, the at least one processor programmed or configured to: generate a public key and a private key associated with the merchant bank system; communicate, to a payment gateway, the public key associated with the merchant bank system; receive, from the payment gateway, encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) a re-encrypted encrypted session key comprising an encrypted session key encrypted with a re-encryption key, the encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system; and decrypt the re-encrypted encrypted session key based on the private key associated with the merchant bank system.
Clause 38. The system of clause 37, wherein the at least one processor is further programmed or configured to: generate an authorization request message in response to verifying the authentication code; and communicate the authorization request message to a transaction processing system.
Clause 39. A system for encrypting an authentication code, comprising a transaction processing system including at least one processor programmed or configured to: receive or generate an issuer key pair comprising an issuer public key and a corresponding issuer private key, the issuer key pair associated with an issuer system; receive or generate a merchant bank key pair comprising a merchant bank public key and a corresponding merchant bank private key, the merchant bank key pair associated with a merchant bank system; generate at least one re-encryption key based at least partially on the issuer key pair and the merchant bank key pair; receive, from the merchant bank system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising a session key encrypted with the merchant bank public key; re-encrypt the encrypted session key with the at least one re-encryption key; and communicate the re-encrypted encrypted session key and the encrypted code to the issuer system.
Clause 40. The system of clause 39, further comprising the issuer system, the issuer system including at least one processor programmed or configured to: receive the re-encrypted encrypted session key from the transaction processing system; decrypt the re-encrypted encrypted session key based at least partially on the issuer private key; and decrypt the encrypted code based at least partially on the session key.
Clause 41. A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to: receive, at a payment gateway, a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; communicate, from the payment gateway to a point-of-sale system, the merchant bank public key; receive, from the point-of-sale system, at least one re-encryption key, the at least one re-encryption key based on a private key associated with the point-of-sale system and the merchant bank public key; receive, from the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system and corresponding to the private key associated with the point-of-sale system; determine, with the payment gateway, a re-encryption key from the at least one re-encryption key based on the encrypted transaction data; re-encrypt the encrypted session key with the re-encryption key; and communicate the re-encrypted encrypted session key to a merchant bank system.
Clause 42. The computer program product of clause 41, wherein the point-of-sale system comprises at least one of the following: a point-of-sale terminal, a server computer associated with a merchant or merchant bank system, a server computer associated with a point-of-sale service provider, or any combination thereof.
Clause 43. The computer program product of clauses 41 or 42, wherein the at least one re-encryption key comprises a plurality of re-encryption keys, and wherein each re-encryption key of the plurality of re-encryption keys corresponds with a public key of a plurality of merchant bank public keys, the plurality of merchant bank public keys including the merchant bank public key.
Clause 44. The computer program product of any of clauses 41-43, wherein the at least one re-encryption key is generated by the point-of-sale system.
Clause 45. The computer program product of any of clauses 41-44, wherein the private key associated with the point-of-sale system corresponds to a public key, and wherein the private key and public key associated with the point-of-sale system are generated by the point-of-sale system.
Clause 46. The computer program product of any of clauses 41-45, wherein the one or more processors are further programmed and/or configured to: receive or generate, at a transaction processing system, an issuer public key corresponding to an issuer private key, the issuer public key and the issuer private key associated with an issuer system; generate, with the transaction processing system, at least one second re-encryption key based on the issuer private key and the merchant bank private key or a second merchant bank private key; re-encrypt the encrypted session key with the at least one second re-encryption key; and communicate the re-encrypted encrypted session key to the issuer system.
Clause 47. The computer program product of any of clauses 41-46, wherein the one or more processors are further programmed and/or configured to: generate, by the merchant bank system or the payment gateway, an authorization request message in response to verifying the authentication code; and communicate, by the merchant bank system or the payment gateway, the authorization request message to a transaction processing system.
Clause 48. A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to: generate, with a point-of-sale system, a public key and a private key associated with the point-of-sale system; receive, at the point-of-sale system, a merchant bank public key corresponding to a merchant bank private key, the merchant bank public key and the merchant bank private key associated with a merchant bank system; generate, with a point-of-sale system, at least one re-encryption key based on the private key associated with the point-of-sale system; communicate, from the point-of-sale system to a payment gateway, the at least one re-encryption key; generate, with the point-of-sale system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising the session key encrypted with the public key associated with the point-of-sale system; and communicate, from the point-of-sale system to the payment gateway, the encrypted transaction data.
Clause 49. The computer program product of clause 48, wherein the point-of-sale system comprises at least one of the following: a point-of-sale terminal, a server computer associated with a merchant or merchant bank system, a server computer associated with a point-of-sale service provider, or any combination thereof.
Clause 50. The computer program product of clauses 48 or 49, wherein the at least one re-encryption key comprises a plurality of re-encryption keys, and wherein each re-encryption key of the plurality of re-encryption keys corresponds with a public key of a plurality of merchant bank public keys, the plurality of merchant bank public keys including the merchant bank public key.
Clause 51. A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to: generate, with a merchant bank system, a public key and a private key associated with the merchant bank system; communicate, with the merchant bank system to a payment gateway, the public key associated with the merchant bank system; receive, with the merchant bank system from the payment gateway, encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) a re-encrypted encrypted session key comprising an encrypted session key encrypted with a re-encryption key, the encrypted session key comprising the session key encrypted with a public key associated with the point-of-sale system; and decrypt, with the merchant bank system, the re-encrypted encrypted session key based on the private key associated with the merchant bank system.
Clause 52. The computer program product of clause 51, wherein the one or more processors are further programmed and/or configured to: generate, with the merchant bank system, an authorization request message in response to verifying the authentication code; and communicate, with the merchant bank system, the authorization request message to a transaction processing system.
Clause 53. A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to: receive or generate, with a transaction processing system, an issuer key pair comprising an issuer public key and a corresponding issuer private key, the issuer key pair associated with an issuer system; receive or generate, with the transaction processing system, a merchant bank key pair comprising a merchant bank public key and a corresponding merchant bank private key, the merchant bank key pair associated with a merchant bank system; generate, with the transaction processing system, at least one re-encryption key based at least partially on the issuer key pair and the merchant bank key pair; receive, from the merchant bank system, encrypted transaction data for a transaction, the encrypted transaction data comprising: (i) an encrypted code comprising an authentication code encrypted with a session key, and (ii) an encrypted session key comprising a session key encrypted with the merchant bank public key; re-encrypt the encrypted session key with the at least one re-encryption key; and communicate the re-encrypted encrypted session key and the encrypted code to the issuer system.
Clause 54. The computer program product of clause 53, wherein the instructions further cause the at least one processor to: receive, with the issuer system, the re-encrypted encrypted session key from the transaction processing system; decrypt, with the issuer system, the re-encrypted encrypted session key based at least partially on the issuer private key; and decrypt, with the issuer system, the encrypted code based at least partially on the session key.
Clause 55. A computer-implemented method, comprising: generating, with a payment network, a first value (a) and a second value (ga), the second value (ga) generated based on the first value (a) and a generator value (g); generating, with the payment network, a plurality of random merchant numbers (mi) for a respective plurality of merchant banks; determining, with the payment network, a merchant product (M) based on a product of the plurality of random merchant numbers (mi) for the respective plurality of merchant banks; generating, with the payment network, a public key (pki) based on the second value (ga), the merchant product (M), and the random merchant number (mi) and a random key ORO based on the merchant product (M) and the random merchant number (mi) for each respective merchant bank of the plurality of merchant banks; and communicating, with the payment network, the public key (pki) and the random key ORO to at least one respective merchant bank.
Clause 56. The computer-implemented method of clause 55, further comprising: generating, with the merchant bank, a plurality of random payment gateway numbers (pi) for a respective plurality of payment gateways; and generating, with the merchant bank, a payment gateway public key based on the second value (ga), the merchant product (M), and the random payment gateway number (pi) and a payment gateway random key based on the random payment gateway number (pi) for each respective payment gateway of the plurality of payment gateways.
Clause 57. The computer-implemented method of clauses 55 or 56, further comprising: generating, with the merchant bank, a plurality of terminal numbers (ti) for a respective plurality of point-of-sale (POS) terminals; and generating, with the merchant bank, a terminal public key based on the second value (ga), the merchant product (M), the random payment gateway number (pi), and the terminal number (ti) and a terminal random key based on the random payment gateway number (pi) and the terminal number (ti) for each respective POS terminal of the plurality of POS terminals.
Clause 58. The computer-implemented method of any of clauses 55-57, further comprising: communicating, with the merchant bank, the terminal public key and the terminal random key to at least one payment gateway; and communicating, with the at least one payment gateway, the terminal public key to at least one POS terminal.
Clause 59. The computer-implemented method of any of clauses 55-58, further comprising: generating, with the at least one POS terminal, a random number (r) for a transaction message (m) associated with a transaction; generating, with the at least one POS terminal, a first ciphertext associated with the transaction, the first ciphertext comprising: (i) a first ciphertext value associated with the transaction message (m), the first ciphertext value encrypted based on the random number (r), a generator value (g), and the transaction message (m); and ii) a second ciphertext value associated with the random number (r), the second ciphertext value encrypted based on the random number (r) and the terminal public key; and communicating, with the POS terminal, the first ciphertext to the at least one payment gateway.
Clause 60. The computer-implemented method of any of clauses 55-59, further comprising: re-encrypting, with the at least one payment gateway, the second ciphertext value based on the terminal random key to transform the second ciphertext value to a re-encrypted second ciphertext value based on the second value (ga), the merchant product (M), and the random number (r); and communicating, with the at least one payment gateway, the re-encrypted second ciphertext value and the first ciphertext value to the at least one merchant bank.
Clause 61. The computer-implemented method of any of clauses 55-60, further comprising: re-encrypting, with the at least one merchant bank, the re-encrypted second ciphertext value based on the random key (rki) to transform the re-encrypted second ciphertext value to a second re-encrypted second ciphertext value based on the second value (ga), the merchant product (M), the merchant random number (mi), and the random number (r); and communicating, with the at least one merchant bank, the second re-encrypted second ciphertext value and the first ciphertext value to the payment network.
Clause 62. The computer-implemented method of any of clauses 55-61, further comprising: decrypting, with the payment network, the first ciphertext value based on the second re-encrypted second ciphertext value, the merchant product (M), the merchant random number (mi), and the first ciphertext value.
Clause 63. A system, comprising: a payment network including one or more processors, wherein the payment network is programmed and/or configured to: generate a first value (a) and a second value (ga), the second value (ga) generated based on the first value (a) and a generator value (g); generate a plurality of random merchant numbers (mi) for a respective plurality of merchant banks; determine a merchant product (M) based on a product of the plurality of random merchant numbers (mi) for the respective plurality of merchant banks; generate a public key (pki) based on the second value (ga), the merchant product (M), and the random merchant number (mi) and a random key (rki) based on the merchant product (M) and the random merchant number (mi) for each respective merchant bank of the plurality of merchant banks; and communicate the public key (pki) and the random key (rki) to at least one respective merchant bank.
Clause 64. The system of clause 63, wherein the merchant bank includes one or more processors, and wherein the merchant bank is programmed and/or configured to: generate a plurality of random payment gateway numbers (pi) for a respective plurality of payment gateways; generate a payment gateway public key based on the second value (ga), the merchant product (M), and the random payment gateway number (pi) and a payment gateway random key based on the random payment gateway number (pi) for each respective payment gateway of the plurality of payment gateways.
Clause 65. The system of clauses 63 or 64, wherein the merchant bank is further programmed and/or configured to: generate a plurality of terminal numbers (ti) for a respective plurality of point-of-sale (POS) terminals; and generate a terminal public key based on the second value (ga), the merchant product (M), the random payment gateway number (pi), and the terminal number (ti) and a terminal random key based on the random payment gateway number (pi) and the terminal number (ti) for each respective POS terminal of the plurality of POS terminals.
Clause 66. The system of any of clauses 63-65, wherein the merchant bank is further programmed and/or configured to: communicate the terminal public key and the terminal random key to at least one payment gateway, wherein the at least one payment gateway includes one or more processors, and wherein the at least one payment gateway is programmed and/or configured to: communicate the terminal public key to at least one POS terminal.
Clause 67. The system of any of clauses 63-66, wherein the at least one POS terminal includes one or more processors, and wherein the at least one POS terminal is programmed and/or configured to: generate a random number (r) for a transaction message (m) associated with a transaction; generate a first ciphertext associated with the transaction, the first ciphertext comprising: (i) a first ciphertext value associated with the transaction message (m), the first ciphertext value encrypted based on the random number (r), a generator value (g), and the transaction message (m); and ii) a second ciphertext value associated with the random number (r), the second ciphertext value encrypted based on the random number (r) and the terminal public key; and communicate the first ciphertext to the at least one payment gateway.
Clause 68. The system of any of clauses 63-67, wherein the at least one payment gateway is further programmed and/or configured to: re-encrypt the second ciphertext value based on the terminal random key to transform the second ciphertext value to a re-encrypted second ciphertext value based on the second value (ga), the merchant product (M), and the random number (r); and communicate the re-encrypted second ciphertext value and the first ciphertext value to the at least one merchant bank.
Clause 69. The system of any of clauses 63-68, wherein the at least one merchant bank is further programmed and/or configured to: re-encrypt the re-encrypted second ciphertext value based on the random key (rki) to transform the re-encrypted second ciphertext value to a second re-encrypted second ciphertext value based on the second value (ga), the merchant product (M), the merchant random number (mi), and the random number (r); and communicate the second re-encrypted second ciphertext value and the first ciphertext value to the payment network.
Clause 70. The system of any of clauses 63-69 wherein the payment network is further programmed and/or configured to: decrypt the first ciphertext value based on the second re-encrypted second ciphertext value, the merchant product (M), the merchant random number (mi), and the first ciphertext value.
Clause 71. A computer program product comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to: generate, with a payment network, a first value (a) and a second value (ga), the second value (ga) generated based on the first value (a) and a generator value (g); generate, with the payment network, a plurality of random merchant numbers (mi) for a respective plurality of merchant banks; determine, with the payment network, a merchant product (M) based on a product of the plurality of random merchant numbers (mi) for the respective plurality of merchant banks; generate, with the payment network, a public key (pki) based on the second value (ga), the merchant product (M), and the random merchant number (mi) and a random key (rki) based on the merchant product (M) and the random merchant number (mi) for each respective merchant bank of the plurality of merchant banks; and communicate, with the payment network, the public key (pki) and the random key (rki) to at least one respective merchant bank.
Clause 72. The computer program product of clause 71, wherein the instructions further cause the at least one processor to: generate, with the merchant bank, a plurality of random payment gateway numbers (pi) for a respective plurality of payment gateways; and generate, with the merchant bank, a payment gateway public key based on the second value (ga), the merchant product (M), and the random payment gateway number (pi) and a payment gateway random key based on the random payment gateway number (pi) for each respective payment gateway of the plurality of payment gateways.
Clause 73. The computer program product of clauses 71 or 72, wherein the instructions further cause the at least one processor to: generate, with the merchant bank, a plurality of terminal numbers (ti) for a respective plurality of point-of-sale (POS) terminals; and generate, with the merchant bank, a terminal public key based on the second value (ga), the merchant product (M), the random payment gateway number (pi), and the terminal number (ti) and a terminal random key based on the random payment gateway number (pi) and the terminal number (ti) for each respective POS terminal of the plurality of POS terminals.
Clause 74. The computer program product of any of clauses 71-73, wherein the instructions further cause the at least one processor to: communicate, with the merchant bank, the terminal public key and the terminal random key to at least one payment gateway; and communicate, with the at least one payment gateway, the terminal public key to at least one POS terminal.
Clause 75. The computer program product of any of clauses 71-74, wherein the instructions further cause the at least one processor to: generate, with the at least one POS terminal, a random number (r) for a transaction message (m) associated with a transaction; generate, with the at least one POS terminal, a first ciphertext associated with the transaction, the first ciphertext comprising: (i) a first ciphertext value associated with the transaction message (m), the first ciphertext value encrypted based on the random number (r), a generator value (g), and the transaction message (m); and ii) a second ciphertext value associated with the random number (r), the second ciphertext value encrypted based on the random number (r) and the terminal public key; and communicate, with the POS terminal, the first ciphertext to the at least one payment gateway.
Clause 76. The computer program product of any of clauses 71-75, wherein the instructions further cause the at least one processor to: re-encrypt, with the at least one payment gateway, the second ciphertext value based on the terminal random key to transform the second ciphertext value to a re-encrypted second ciphertext value based on the second value (ga), the merchant product (M), and the random number (r); and communicate, with the at least one payment gateway, the re-encrypted second ciphertext value and the first ciphertext value to the at least one merchant bank.
Clause 77. The computer program product of any of clauses 71-76, wherein the instructions further cause the at least one processor to: re-encrypt, with the at least one merchant bank, the re-encrypted second ciphertext value based on the random key ORO to transform the re-encrypted second ciphertext value to a second re-encrypted second ciphertext value based on the second value (ga), the merchant product (M), the merchant random number (mi), and the random number (r); and communicate, with the at least one merchant bank, the second re-encrypted second ciphertext value and the first ciphertext value to the payment network.
Clause 78. The computer program product of any of clauses 71-77, wherein the instructions further cause the at least one processor to: decrypt, with the payment network, the first ciphertext value based on the second re-encrypted second ciphertext value, the merchant product (M), the merchant random number (mi), and the first ciphertext value.
These and other features and characteristics of the presently disclosed subject matter, as well as the methods of operation and functions of the related elements of structures and the combination of parts and economies of manufacture, will become more apparent upon consideration of the following description and the appended claims with reference to the accompanying drawings, all of which form a part of this specification, wherein like reference numerals designate corresponding parts in the various figures. It is to be expressly understood, however, that the drawings are for the purpose of illustration and description only and are not intended as a definition of the limits of the disclosed subject matter. As used in the specification and the claims, the singular form of “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise.
Additional advantages and details of the disclosed subject matter are explained in greater detail below with reference to the exemplary embodiments that are illustrated in the accompanying figures, in which:
For purposes of the description hereinafter, the terms “end,” “upper,” “lower,” “right,” “left,” “vertical,” “horizontal,” “top,” “bottom,” “lateral,” “longitudinal,” and derivatives thereof shall relate to the disclosed subject matter as it is oriented in the drawing figures. However, it is to be understood that the disclosed subject matter may assume various alternative variations and step sequences, except where expressly specified to the contrary. It is also to be understood that the specific devices and processes illustrated in the attached drawings, and described in the following specification, are simply exemplary embodiments or aspects of the disclosed subject matter. Hence, specific dimensions and other physical characteristics related to the embodiments or aspects disclosed herein are not to be considered as limiting unless otherwise indicated.
No aspect, component, element, structure, act, step, function, instruction, and/or the like used herein should be construed as critical or essential unless explicitly described as such. Also, as used herein, the articles “a” and “an” are intended to include one or more items and may be used interchangeably with “one or more” and “at least one.” Furthermore, as used herein, the term “set” is intended to include one or more items (e.g., related items, unrelated items, a combination of related and unrelated items, and/or the like) and may be used interchangeably with “one or more” or “at least one.” Where only one item is intended, the term “one” or similar language is used. Also, as used herein, the terms “has,” “have,” “having,” or the like are intended to be open-ended terms. Further, the phrase “based on” is intended to mean “based at least partially on” unless explicitly stated otherwise.
As used herein, the terms “communication” and “communicate” may refer to the reception, receipt, transmission, transfer, provision, and/or the like of information (e.g., data, signals, messages, instructions, commands, and/or the like). For one unit (e.g., a device, a system, a component of a device or system, combinations thereof, and/or the like) to be in communication with another unit means that the one unit is able to directly or indirectly receive information from and/or transmit information to the other unit. This may refer to a direct or indirect connection (e.g., a direct communication connection, an indirect communication connection, and/or the like) that is wired and/or wireless in nature. Additionally, two units may be in communication with each other even though the information transmitted may be modified, processed, relayed, and/or routed between the first and second unit. For example, a first unit may be in communication with a second unit even though the first unit passively receives information and does not actively transmit information to the second unit. As another example, a first unit may be in communication with a second unit if at least one intermediary unit (e.g., a third unit located between the first unit and the second unit) processes information received from the first unit and communicates the processed information to the second unit. In some non-limiting embodiments or aspects, a message may refer to a network packet (e.g., a data packet and/or the like) that includes data. It will be appreciated that numerous other arrangements are possible.
As used herein, the terms “issuer institution,” “portable financial device issuer,” “issuer,” or “issuer bank” may refer to one or more entities that provide accounts to customers for conducting transactions (e.g., payment transactions), such as initiating credit and/or debit payments. For example, an issuer institution may provide an account identifier, such as a primary account number (PAN), to a customer that uniquely identifies one or more accounts associated with that customer. The account identifier may be embodied on a portable financial device, such as a physical financial instrument, e.g., a payment card, and/or may be electronic and used for electronic payments. The terms “issuer institution” and “issuer institution system” may also refer to one or more computer systems operated by or on behalf of an issuer institution, such as a server computer executing one or more software applications. For example, an issuer institution system may include one or more authorization servers for authorizing a transaction.
As used herein, the term “account identifier” may include one or more types of identifiers associated with a user account (e.g., a PAN, a card number, a payment card number, a token, and/or the like). In some non-limiting embodiments or aspects, an issuer institution may provide an account identifier (e.g., a PAN, a token, and/or the like) to a user that uniquely identifies one or more accounts associated with that user. The account identifier may be embodied on a physical financial instrument (e.g., a portable financial instrument, a payment card, a credit card, a debit card, and/or the like) and/or may be electronic information communicated to the user that the user may use for electronic payments. In some non-limiting embodiments or aspects, the account identifier may be an original account identifier, where the original account identifier was provided to a user at the creation of the account associated with the account identifier. In some non-limiting embodiments or aspects, the account identifier may be an account identifier (e.g., a supplemental account identifier) that is provided to a user after the original account identifier was provided to the user. For example, if the original account identifier is forgotten, stolen, and/or the like, a supplemental account identifier may be provided to the user. In some non-limiting embodiments or aspects, an account identifier may be directly or indirectly associated with an issuer institution such that an account identifier may be a token that maps to a PAN or other type of identifier. Account identifiers may be alphanumeric, any combination of characters and/or symbols, and/or the like. An issuer institution may be associated with a bank identification number (BIN) that uniquely identifies the issuer institution.
As used herein, the terms “payment token” or “token” may refer to an identifier that is used as a substitute or replacement identifier for an account identifier, such as a PAN. Tokens may be associated with a PAN or other account identifiers in one or more data structures (e.g., one or more databases and/or the like) such that they can be used to conduct a transaction (e.g., a payment transaction) without directly using the account identifier, such as a PAN. In some examples, an account identifier, such as a PAN, may be associated with a plurality of tokens for different individuals, different uses, and/or different purposes. For example, a payment token may include a series of numeric and/or alphanumeric characters that may be used as a substitute for an original account identifier. For example, a payment token “4900 0000 0000 0001” may be used in place of a PAN “4147 0900 0000 1234.” In some non-limiting embodiments or aspects, a payment token may be “format preserving” and may have a numeric format that conforms to the account identifiers used in existing payment processing networks (e.g., ISO 8583 financial transaction message format). In some non-limiting embodiments or aspects, a payment token may be used in place of a PAN to initiate, authorize, settle, or resolve a payment transaction or represent the original credential in other systems where the original credential would typically be provided. In some non-limiting embodiments or aspects, a token value may be generated such that the recovery of the original PAN or other account identifier from the token value may not be computationally derived (e.g., with a one-way hash or other cryptographic function). Further, in some non-limiting embodiments or aspects, the token format may be configured to allow the entity receiving the payment token to identify it as a payment token and recognize the entity that issued the token.
As used herein, the term “provisioning” may refer to a process of enabling a device to use a resource or service. For example, provisioning may involve enabling a device to perform transactions using an account. Additionally or alternatively, provisioning may include adding provisioning data associated with account data (e.g., a payment token representing an account number) to a device.
As used herein, the term “token requestor” may refer to an entity that is seeking to implement tokenization according to embodiments or aspects of the presently disclosed subject matter. For example, the token requestor may initiate a request that a PAN be tokenized by submitting a token request message to a token service provider. Additionally or alternatively, a token requestor may no longer need to store a PAN associated with a token once the requestor has received the payment token in response to a token request message. In some non-limiting embodiments or aspects, the requestor may be an application, a device, a process, or a system that is configured to perform actions associated with tokens. For example, a requestor may request registration with a network token system, request token generation, token activation, token de-activation, token exchange, other token lifecycle management related processes, and/or any other token related processes. In some non-limiting embodiments or aspects, a requestor may interface with a network token system through any suitable communication network and/or protocol (e.g., using HTTPS, SOAP, and/or an XML interface among others). For example, a token requestor may include card-on-file merchants, acquirers, acquirer processors, payment gateways acting on behalf of merchants, payment enablers (e.g., original equipment manufacturers, mobile network operators, and/or the like), digital wallet providers, issuers, third-party wallet providers, payment processing networks, and/or the like. In some non-limiting embodiments or aspects, a token requestor may request tokens for multiple domains and/or channels. Additionally or alternatively, a token requestor may be registered and identified uniquely by the token service provider within the tokenization ecosystem. For example, during token requestor registration, the token service provider may formally process a token requestor's application to participate in the token service system. In some non-limiting embodiments or aspects, the token service provider may collect information pertaining to the nature of the requestor and relevant use of tokens to validate and formally approve the token requestor and establish appropriate domain restriction controls. Additionally or alternatively, successfully registered token requestors may be assigned a token requestor identifier that may also be entered and maintained within the token vault. In some non-limiting embodiments or aspects, token requestor identifiers may be revoked and/or token requestors may be assigned new token requestor identifiers. In some non-limiting embodiments or aspects, this information may be subject to reporting and audit by the token service provider.
As used herein, the term a “token service provider” may refer to an entity including one or more server computers in a token service system that generates, processes, and maintains payment tokens. For example, the token service provider may include or be in communication with a token vault where the generated tokens are stored. Additionally or alternatively, the token vault may maintain one-to-one mapping between a token and a PAN represented by the token. In some non-limiting embodiments or aspects, the token service provider may have the ability to set aside licensed BINs as token BINs to issue tokens for the PANs that may be submitted to the token service provider. In some non-limiting embodiments or aspects, various entities of a tokenization ecosystem may assume the roles of the token service provider. For example, payment networks and issuers or their agents may become the token service provider by implementing the token services according to non-limiting embodiments or aspects of the presently disclosed subject matter. Additionally or alternatively, a token service provider may provide reports or data output to reporting tools regarding approved, pending, or declined token requests, including any assigned token requestor ID. The token service provider may provide data output related to token-based transactions to reporting tools and applications and present the token and/or PAN as appropriate in the reporting output. In some non-limiting embodiments or aspects, the EMVCo standards organization may publish specifications defining how tokenized systems may operate. For example, such specifications may be informative, but they are not intended to be limiting upon any of the presently disclosed subject matter.
As used herein, the term “token vault” may refer to a repository that maintains established token-to-PAN mappings. For example, the token vault may also maintain other attributes of the token requestor that may be determined at the time of registration and/or that may be used by the token service provider to apply domain restrictions or other controls during transaction processing. In some non-limiting embodiments or aspects, the token vault may be a part of a token service system. For example, the token vault may be provided as a part of the token service provider. Additionally or alternatively, the token vault may be a remote repository accessible by the token service provider. In some non-limiting embodiments or aspects, token vaults, due to the sensitive nature of the data mappings that are stored and managed therein, may be protected by strong underlying physical and logical security. Additionally or alternatively, a token vault may be operated by any suitable entity, including a payment network, an issuer, clearing houses, other financial institutions, transaction service providers, and/or the like.
As used herein, the term “merchant” may refer to one or more entities (e.g., operators of retail businesses that provide goods and/or services, and/or access to goods and/or services, to a user (e.g., a customer, a consumer, a customer of the merchant, and/or the like) based on a transaction (e.g., a payment transaction)). As used herein, “merchant system” may refer to one or more computer systems operated by or on behalf of a merchant, such as a server computer executing one or more software applications. As used herein, the term “product” may refer to one or more goods and/or services offered by a merchant.
As used herein, the term “point-of-sale (POS) device” may refer to one or more devices, which may be used by a merchant to initiate transactions (e.g., a payment transaction), engage in transactions, and/or process transactions. For example, a POS device may include one or more computers, peripheral devices, card readers, near-field communication (NFC) receivers, radio frequency identification (RFID) receivers, and/or other contactless transceivers or receivers, contact-based receivers, payment terminals, computers, servers, input devices, and/or the like.
As used herein, the term “point-of-sale (POS) system” may refer to one or more computers and/or peripheral devices used by a merchant to conduct a transaction. For example, a POS system may include one or more POS devices and/or other like devices that may be used to conduct a payment transaction. A POS system (e.g., a merchant POS system) may also include one or more server computers programmed or configured to process online payment transactions through webpages, mobile applications, and/or the like.
As used herein, the term “transaction service provider” may refer to an entity that receives transaction authorization requests from merchants or other entities and provides guarantees of payment, in some cases through an agreement between the transaction service provider and the issuer institution. In some non-limiting embodiments or aspects, a transaction service provider may include a credit card company, a debit card company, and/or the like. As used herein, the term “transaction service provider system” may also refer to one or more computer systems operated by or on behalf of a transaction service provider, such as a transaction processing server executing one or more software applications. A transaction processing server may include one or more processors and, in some non-limiting embodiments or aspects, may be operated by or on behalf of a transaction service provider.
As used herein, the term “acquirer” may refer to an entity licensed by the transaction service provider and approved by the transaction service provider to originate transactions (e.g., payment transactions) using a portable financial device associated with the transaction service provider. As used herein, the term “acquirer system” may also refer to one or more computer systems, computer devices, and/or the like operated by or on behalf of an acquirer. The transactions the acquirer may include payment transactions (e.g., purchases, original credit transactions (OCTs), account funding transactions (AFTs), and/or the like). In some non-limiting embodiments or aspects, the acquirer may be authorized by the transaction service provider to assign merchant or service providers to originate transactions using a portable financial device of the transaction service provider. The acquirer may contract with payment facilitators to enable the payment facilitators to sponsor merchants. The acquirer may monitor compliance of the payment facilitators in accordance with regulations of the transaction service provider. The acquirer may conduct due diligence of the payment facilitators and ensure that proper due diligence occurs before signing a sponsored merchant. The acquirer may be liable for all transaction service provider programs that the acquirer operates or sponsors. The acquirer may be responsible for the acts of the acquirer's payment facilitators, merchants that are sponsored by an acquirer's payment facilitators, and/or the like. In some non-limiting embodiments or aspects, an acquirer may be a financial institution, such as a bank.
As used herein, the terms “electronic wallet,” “electronic wallet mobile application,” and “digital wallet” may refer to one or more electronic devices and/or one or more software applications configured to initiate and/or conduct transactions (e.g., payment transactions, electronic payment transactions, and/or the like). For example, an electronic wallet may include a user device (e.g., a mobile device) executing an application program and server-side software and/or databases for maintaining and providing transaction data to the user device. As used herein, the term “electronic wallet provider” may include an entity that provides and/or maintains an electronic wallet and/or an electronic wallet mobile application for a user (e.g., a customer). Examples of an electronic wallet provider include, but are not limited to, Google Pay®, Android Pay®, Apple Pay®, and Samsung Pay®. In some non-limiting examples, a financial institution (e.g., an issuer institution) may be an electronic wallet provider. As used herein, the term “electronic wallet provider system” may refer to one or more computer systems, computer devices, servers, groups of servers, and/or the like operated by or on behalf of an electronic wallet provider.
As used herein, the term “portable financial device” may refer to a payment card (e.g., a credit or debit card), a gift card, a smartcard, smart media, a payroll card, a healthcare card, a wrist band, a machine-readable medium containing account information, a keychain device or fob, an RFID transponder, a retailer discount or loyalty card, a cellular phone, an electronic wallet mobile application, a personal digital assistant (PDA), a pager, a security card, a computer, an access card, a wireless terminal, a transponder, and/or the like. In some non-limiting embodiments or aspects, the portable financial device may include volatile or non-volatile memory to store information (e.g., an account identifier, a name of the account holder, and/or the like).
As used herein, the term “payment gateway” may refer to an entity and/or a payment processing system operated by or on behalf of such an entity (e.g., a merchant service provider, a payment service provider, a payment facilitator, a payment facilitator that contracts with an acquirer, a payment aggregator, and/or the like), which provides payment services (e.g., transaction service provider payment services, payment processing services, and/or the like) to one or more merchants. The payment services may be associated with the use of portable financial devices managed by a transaction service provider. As used herein, the term “payment gateway system” may refer to one or more computer systems, computer devices, servers, groups of servers, and/or the like operated by or on behalf of a payment gateway and/or to a payment gateway itself. The term “payment gateway mobile application” may refer to one or more electronic devices and/or one or more software applications configured to provide payment services for transactions (e.g., payment transactions, electronic payment transactions, and/or the like).
As used herein, the terms “client” and “client device” may refer to one or more client-side devices or systems (e.g., remote from a transaction service provider) used to initiate or facilitate a transaction (e.g., a payment transaction). As an example, a “client device” may refer to one or more POS devices used by a merchant, one or more acquirer host computers used by an acquirer, one or more mobile devices used by a user, and/or the like. In some non-limiting embodiments or aspects, a client device may be an electronic device configured to communicate with one or more networks and initiate or facilitate transactions. For example, a client device may include one or more computers, portable computers, laptop computers, tablet computers, mobile devices, cellular phones, wearable devices (e.g., watches, glasses, lenses, clothing, and/or the like), PDAs, and/or the like. Moreover, a “client” may also refer to an entity (e.g., a merchant, an acquirer, and/or the like) that owns, utilizes, and/or operates a client device for initiating transactions (e.g., for initiating transactions with a transaction service provider).
As used herein, the term “server” may refer to one or more computing devices (e.g., processors, storage devices, similar computer components, and/or the like) that communicate with client devices and/or other computing devices over a network (e.g., a public network, the Internet, a private network, and/or the like) and, in some examples, facilitate communication among other servers and/or client devices. It will be appreciated that various other arrangements are possible. As used herein, the term “system” may refer to one or more computing devices or combinations of computing devices (e.g., processors, servers, client devices, software applications, components of such, and/or the like). Reference to “a device,” “a server,” “a processor,” and/or the like, as used herein, may refer to a previously-recited device, server, or processor that is recited as performing a previous step or function, a different server or processor, and/or a combination of servers and/or processors. For example, as used in the specification and the claims, a first server or a first processor that is recited as performing a first step or a first function may refer to the same or different server or the same or different processor recited as performing a second step or a second function.
For the purpose of illustration, in the following description, while the presently disclosed subject matter is described with respect to methods, systems, and computer program products for securely communicating sensitive data, (e.g., PIN authentication), one skilled in the art will recognize that the disclosed subject matter is not limited to the illustrative embodiments. For example, the methods, systems, and computer program products described herein may be used with a wide variety of settings, such as securely communicating sensitive data in any suitable setting, (e.g., social security numbers, personally identifying information, contact information, healthcare information, tax information, confidential information, privileged information, trade secret information, payment transaction information, account identifiers, and/or the like).
Non-limiting embodiments or aspects provide an improved method for PIN authentication based on proxy re-encryption that avoids HSM use at intermediaries during transaction processing. Reasons why simpler mechanisms based on public-key encryption (from a terminal directly to consumer's bank) cannot be used in this setting are discussed in more detail herein in the Section titled “Strawman Solutions”. Instead of using HSMs during transaction processing, HSMs are only used for key ceremonies during an initial setup phase. After the key ceremony, the initial public key and subsequent re-encryption keys can be used without the need for trusted hardware. Since PIN translation is the only operation which requires the use of HSMs at the payment gateway and the merchant bank, infrastructure and compliance costs associated with using HSMs and reliance thereon is reduced (although the payment network and consumer banks may use HSMs for other functions (e.g., PIN/CVV verification)).
Deploying upgrades is both time-intensive and expensive. For example, it took nearly a decade to deploy the EMV system in the United States. Due to the large number of parties in the payments ecosystem, the design space of potential solutions is large, and several strawman schemes may be identified but discarded due to limitations such as deployment challenges or significant costs (e.g., reissuing of cards to consumers). Non-limiting embodiments or aspects can be deployed on the existing EMV standard as described by EMVco., “EMV Integrated Circuit Card Specifications for Payment Systems, Book 2—Security and Key Management Version 4.3,” August 2011. [Online]. Available: https://www.emvco.com/wpontent/uploads/2017/05/EMV_v4.3_Book_2_Security_and_Key_Management_20120607061923900.pdf, the contents of which is hereby incorporated by reference in its entirety, without having to issue new cards to customers or incur significant changes at intermediaries. A key management process, including the key ceremony between the intermediaries, may be backwards compatible with the existing PCI-compliant process. Further, while the threat model is well known to those within the payments industry, it had not been formally modeled from a mathematical perspective. A formal characterization of the actors, the threat model and the security goals of PIN authentication within the framework of provable security is thus provided herein.
Due to the crucial role PINs play in authenticating payments transactions, PINs are a clear target to attackers. Several attacks on PIN processing APIs which permit an attacker (with access to HSMs either at the consumer bank or at an intermediary) to obtain customer PINs have been proposed, and a fix which prevents these attacks called “salted-PIN” has also been proposed, but this fix requires significant changes to the payments infrastructure. Other existing methods focus on how to perform formal analysis of HSM APIs for PIN verification and PIN translation to check for vulnerabilities.
Several solutions which avoid the need for PIN translation and help reduce the trust placed in intermediaries also exist. However, much like the strawman solutions described in more detail herein, these solutions require significant changes to either the payment card or to the payment terminal.
Since its introduction, there has been a large body of work formally defining different security properties for Proxy Re-encryption (PRE) and corresponding constructions which achieve these. Original notions of security for PRE only consider chosen-plaintext attack (CPA) attacks. Chosen-ciphertext attack (CCA) notions were later considered for the unidirectional and bidirectional settings. A flaw in the CPA-based models has been identified and a PRE notion for security under Honest Re-encryption Attack (HRA) is introduced.
Non-limiting embodiments or aspects of the present disclosure provide for (i) a Private Proxy Authentication (PPA) scheme and a definition of security which accurately captures the actors, threat model, and security goals of PIN-based payments, (ii) a PPA scheme that can be generically constructed from any PRE scheme, (iii) a modified key management scheme that uses the same key ceremony, thus ensuring backwards compatibility (secure key management is essential to policing compliance in payments, where, today, keys are provisioned using a key ceremony amongst neighboring parties in the payments ecosystem), (iv) a new PRE construction which follows the Key Encapsulation Mechanism-Proxy Key Re-Encapsulation Mechanism (KEM-DEM) hybrid-encryption paradigm in which the Data Encapsulation Mechanism (DEM) is backwards compatible with existing PIN-block encryption processes, which ensures least friction for deployment, and (v) latency that is roughly equivalent to HSMs, while throughput is more than 5× compared to that of a single HSM.
Non-limiting embodiments or aspects provide an improved method for communicating messages (e.g., PIN authentication and/or the like) based on re-encryption that uses a combination of public keys and random keys for intermediaries in a network. As such, computing resources may be preserved (e.g., the use of such computing resources may be reduced and/or the like) because one or more secret keys need not be generated for each intermediary. Additionally, security may be improved because each intermediary need not protect a respective secret key, thus reducing the amount of secret keys at risk for exposure to attackers. Additionally, the public key and random key for each intermediary may be based at least in part on the public and/or random key(s) of at least one other intermediary and/or entity in the network, so re-encryption of a ciphertext may be achievable based on known operations (e.g., mathematical operations and/or the like) without need for decryption of the ciphertext.
Referring now to
Transaction service provider system 102 may include one or more devices capable of receiving information from and/or communicating information to issuer system 104, customer device 106, merchant system 108, and/or acquirer system 110 via network 112. For example, transaction service provider system 102 may include a computing device, such as a server (e.g., a transaction processing server), a group of servers, and/or other like devices. In some non-limiting embodiments or aspects, transaction service provider system 102 may be associated with a transaction service provider as described herein. In some non-limiting embodiments or aspects, transaction service provider system 102 may be in communication with a data storage device, which may be local or remote to transaction service provider system 102. In some non-limiting embodiments or aspects, transaction service provider system 102 may be capable of receiving information from, storing information in, communicating information to, or searching information stored in the data storage device.
Issuer system 104 may include one or more devices capable of receiving information and/or communicating information to transaction service provider system 102, customer device 106, merchant system 108, and/or acquirer system 110 via network 112. For example, issuer system 104 may include a computing device, such as a server, a group of servers, and/or other like devices. In some non-limiting embodiments or aspects, issuer system 104 may be associated with an issuer institution as described herein. For example, issuer system 104 may be associated with an issuer institution that issued a credit account, debit account, credit card, debit card, and/or the like to a user associated with customer device 106.
Customer device 106 may include one or more devices capable of receiving information from and/or communicating information to transaction service provider system 102, issuer system 104, merchant system 108, and/or acquirer system 110 via network 112. Additionally or alternatively, each customer device 106 may include a device capable of receiving information from and/or communicating information to other customer devices 106 via network 112, another network (e.g., an ad hoc network, a local network, a private network, a virtual private network, and/or the like), and/or any other suitable communication technique. For example, customer device 106 may include a client device and/or the like. In some non-limiting embodiments or aspects, customer device 106 may or may not be capable of receiving information (e.g., from merchant system 108 or from another customer device 106) via a short-range wireless communication connection (e.g., an NFC communication connection, an RFID communication connection, a Bluetooth® communication connection, a Zigbee® communication connection, and/or the like), and/or communicating information (e.g., to merchant system 108) via a short-range wireless communication connection.
Merchant system 108 may include one or more devices capable of receiving information from and/or communicating information to transaction service provider system 102, issuer system 104, customer device 106, and/or acquirer system 110 via network 112. Merchant system 108 may also include a device capable of receiving information from customer device 106 via network 112, a communication connection (e.g., an NFC communication connection, an RFID communication connection, a Bluetooth® communication connection, a Zigbee® communication connection, and/or the like) with customer device 106, and/or the like, and/or communicating information to customer device 106 via the network, the communication connection, and/or the like. In some non-limiting embodiments or aspects, merchant system 108 may include a computing device, such as a server, a group of servers, a client device, a group of client devices, and/or other like devices. In some non-limiting embodiments or aspects, merchant system 108 may be associated with a merchant as described herein. In some non-limiting embodiments or aspects, merchant system 108 may include one or more client devices. For example, merchant system 108 may include a client device that allows a merchant to communicate information to transaction service provider system 102. In some non-limiting embodiments or aspects, merchant system 108 may include one or more devices, such as computers, computer systems, and/or peripheral devices capable of being used by a merchant to conduct a transaction with a user. For example, merchant system 108 may include a POS device and/or a POS system.
Acquirer system 110 may include one or more devices capable of receiving information from and/or communicating information to transaction service provider system 102, issuer system 104, customer device 106, and/or merchant system 108 via network 112. For example, acquirer system 110 may include a computing device, a server, a group of servers, and/or the like. In some non-limiting embodiments or aspects, acquirer system 110 may be associated with an acquirer as described herein.
Network 112 may include one or more wired and/or wireless networks. For example, network 112 may include a cellular network (e.g., a long-term evolution (LTE) network, a third generation (3G) network, a fourth generation (4G) network, a code division multiple access (CDMA) network, and/or the like), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., the public switched telephone network (PSTN)), a private network (e.g., a private network associated with a transaction service provider), an ad hoc network, an intranet, the Internet, a fiber optic-based network, a cloud computing network, and/or the like, and/or a combination of these or other types of networks.
The number and arrangement of systems, devices, and/or networks shown in
Referring now to
Bus 202 may include a component that permits communication among the components of device 200. In some non-limiting embodiments or aspects, processor 204 may be implemented in hardware, software, or a combination of hardware and software. For example, processor 204 may include a processor (e.g., a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), and/or the like), a microprocessor, a digital signal processor (DSP), and/or any processing component (e.g., a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), and/or the like), and/or the like, which can be programmed to perform a function. Memory 206 may include random access memory (RAM), read-only memory (ROM), and/or another type of dynamic or static storage device (e.g., flash memory, magnetic memory, optical memory, and/or the like) that stores information and/or instructions for use by processor 204.
Storage component 208 may store information and/or software related to the operation and use of device 200. For example, storage component 208 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optic disk, a solid state disk, and/or the like), a compact disc (CD), a digital versatile disc (DVD), a floppy disk, a cartridge, a magnetic tape, and/or another type of computer-readable medium, along with a corresponding drive.
Input component 210 may include a component that permits device 200 to receive information, such as via user input (e.g., a touch screen display, a keyboard, a keypad, a mouse, a button, a switch, a microphone, a camera, and/or the like). Additionally or alternatively, input component 210 may include a sensor for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, an actuator, and/or the like). Output component 212 may include a component that provides output information from device 200 (e.g., a display, a speaker, one or more light-emitting diodes (LEDs), and/or the like).
Communication interface 214 may include a transceiver-like component (e.g., a transceiver, a receiver and transmitter that are separate, and/or the like) that enables device 200 to communicate with other devices, such as via a wired connection, a wireless connection, or a combination of wired and wireless connections. Communication interface 214 may permit device 200 to receive information from another device and/or provide information to another device. For example, communication interface 214 may include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi® interface, a Bluetooth® interface, a Zigbee® interface, a cellular network interface, and/or the like.
Device 200 may perform one or more processes described herein. Device 200 may perform these processes based on processor 204 executing software instructions stored by a computer-readable medium, such as memory 206 and/or storage component 208. A computer-readable medium (e.g., a non-transitory computer-readable medium) is defined herein as a non-transitory memory device. A non-transitory memory device includes memory space located inside of a single physical storage device or memory space spread across multiple physical storage devices.
Software instructions may be read into memory 206 and/or storage component 208 from another computer-readable medium or from another device via communication interface 214. When executed, software instructions stored in memory 206 and/or storage component 208 may cause processor 204 to perform one or more processes described herein. Additionally or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Thus, embodiments or aspects described herein are not limited to any specific combination of hardware circuitry and software.
The number and arrangement of components shown in
Traditionally, PIN-based verification is reserved for use at ATMs, but with the adoption of EMV (a.k.a. Chip-and-PIN) PIN-based verification is now widely used for authentication for both ATM and point-of-sale (POS) transactions. When a consumer enters their PIN on a POS device, PIN verification happens in one of two ways: offline or online. If PIN verification occurs offline, the only parties involved are the POS device and the chip card. The consumer-entered PIN is sent directly from the PIN pad to the chip card, where the PIN is authenticated. In contrast, online-PIN verification involves sending the PIN back for verification at the consumer bank that issued that card. In countries with mature payment infrastructures (e.g., USA), nearly all PIN verifications are performed online. Offline PIN verification has not been adopted in the USA due to the added complexities involved in synchronizing the offline PIN held on the chip with the backend PIN used for online verification.
Referring now to
Since a PIN is sensitive, confidentiality of the PIN as it passes through these intermediaries to reach consumer bank 312 should be ensured. Unsurprisingly, PCI regulations mandate that a PIN should never be exposed in the clear to any intermediary party. Naïvely, one may assume that the POS terminal 304 encrypts the PIN under a key shared with the consumer bank 312. However, as the POS partner 304 has no direct relationship with the consumer bank 312, there is no way for such a key to be established. Therefore, each neighboring participant must separately establish a shared key, (e.g., the POS partner 304 shares a key with the Payment gateway 306, which in turn shares a different key with merchant bank 308, which in turn shares a different key with payment network 310, which in turn shares a different key with consumer bank 312).
A further requirement made by PCI is that PINs may only appear in the clear inside secure hardware. This means that each intermediary needs to deploy HSMs to handle the PINs as the pins traverse the network. Keys are generated inside the HSMs and shared with the neighboring party in a key ceremony process as described herein in more detail in the Section titled “Key Management in Practice”, ensuring dual control and split knowledge. However, such ceremonies are generally time consuming and require strict processes to be followed. Subsequently, when an encrypted PIN passes through an intermediary, the encrypted PIN is sent to the intermediary's HSM to be decrypted and re-encrypted under the shared key of the next hop. For example, in the first hop (POS device 302 to POS partner 304) PCI requires that a unique key is used for each transaction (e.g., using the Derived Unique Key Per Transaction (DUKPT) method). Following this first hop, in the majority of all subsequent hops, a static key is used.
An Encrypted PIN Block (EPB) is constructed by first encoding the PIN and then encrypting the encoded block. PIN block encoding can be performed in multiple ways as defined in the ISO 9654-1 standard. For example, the ISO 9654-1 standard defines five different formats known as ISO Formats 0, 1, 2, 3 and 4. Non-limiting embodiments or aspects are described primarily with respect to Formats 0 and 3, but are not limited thereto and any ISO Format may be used. ISO Format 4 is the most recently defined, but is yet to see wide deployment. Formats 0 and 3 take as input the PIN and the card number (PAN) and output an encoded block. A main difference between these two formats is that Format 0 uses a fixed padding while Format 3 uses a random padding. A more detailed description of an ISO PIN-block encoding scheme 400 is shown in
After encoding, the PIN block is encrypted using a block cipher to give the final EPB 500 as depicted in
Traditional public-key cryptography based strawman solutions fail to achieve seamless deployment. In the interest of brevity, only a few salient strawman solutions are discussed herein to highlight that strawman solutions incur significant deployment overheads.
A naïve way to achieve PIN confidentiality is by encrypting the PIN against a public key of the consumer bank 312. All parties involved in PIN-based transactions simply forward the encrypted PIN to the consumer bank 312. The consumer bank 312 decrypts the PIN with the associated secret key and verifies the PIN to perform authorization. To realize this paradigm, a POS device 302 must have reliable access to the database of PANs and the corresponding consumer bank's public keys. Storing that database in POS devices 302 is not optimal because it incurs massive deployment overheads. For example, there are 46 million merchants currently accepting Visa cards. However, the POS device 302 can query a remotely hosted database server managed by a payment network to fetch the consumer bank's public key and encrypt the PIN against that public key. This additional remote invocation increases transaction latency and requires various intermediaries to deploy the new changes. Parties, such as, POS partners 304, payment gateways 306, merchant banks 308 and payment networks 310, need to deploy the new changes. Furthermore, the mapping of a PAN number to the corresponding consumer bank's public key is business sensitive to the payment network 310, which may act as hindrance to a successful deployment.
An alternative for a POS device 302 is to read the consumer bank's public key from the chip card during a transaction. Consumer banks 312 today provision chip cards with a public key and a public/private key pair to support offline data authentication and offline PIN verification. Offline PIN verification is discouraged and consumer banks in the USA no longer support this mode. Offline data authentication is currently employed to support transit payments, which improves latency by performing offline authorization. In this mode, the card proves its authenticity by signing a challenge randomly chosen by a POS device 302 during the transaction. The card returns the digital signature, certificate containing the card's public key, and the certificate containing the consumer bank's public key to the POS device 302. The POS device 302 validates the certificate chain and verifies the digital signature to proceed with the payment. To ensure PIN privacy, the POS device 302 can encrypt against the consumer bank's public key obtained in the process of authenticating the card. However, this approach is backward incompatible and incurs large deployment overheads. It requires re-issuance of cards because all chip cards in use are not provisioned with the consumer banks' public keys because offline data authentication is optional. Furthermore, it increases the cost of provisioning chip cards. This approach is backward incompatible because not all US merchants support chip cards. For example, gas stations in the US are yet to support chip cards. Re-issuance of magnetic stripe cards is not an option because they are not designed to store additional public key material.
Another alternative is encrypting the PIN against a payment network's public key. This seemingly simple solution is not deployable due to the following reasons. First, it only eliminates the burden of HSM reliance on all intermediaries other than the payment networks. Second, merchants lose routing flexibility of PIN-based transactions. Merchants today dynamically route PIN-based transactions over their preferred networks to minimize the processing fees. To that end, the above seemingly natural strawman solutions incur significant changes to the payments ecosystem.
Proxy Re-Encryption (PRE) schemes are Public-Key Encryption (PKE) schemes enhanced by a re-encrypt operation. PRE enables parties holding re-encryption keys to transform ciphertexts encrypted under a user A's public key to a ciphertext under a different user B's public key. A bidirectional PRE scheme permits a re-encryption key rkA→B to be used to re-encrypt in either direction (e.g., from A to B, or from B to A) as described by M. Blaze, G. Bleumer, and M. Strauss, “Divertible protocols and atomic proxy cryptography,” in Advances in Cryptology—EUROCRYPT '98, International Conference on the Theory and Application of Cryptographic Techniques, Espoo, Finland, May 31-Jun. 4, 1998, Proceeding, ser. Lecture Notes in Computer Science, K. Nyberg, Ed., vol. 1403. Springer, 1998, pp. 127-144. [Online]. Available: https://doi.org/10.1007/BFb0054122, (hereinafter Blaze et al.), the entire contents of which is hereby incorporated in its entirety by reference. In contrast, re-encryption keys generated by unidirectional PRE schemes can only be used to re-encrypt in one direction (e.g., from A to B, but not from B to A) as described by G. Ateniese, K. Fu, M. Green, and S. Hohenberger, “Improved proxy re-encryption schemes with applications to secure distributed storage,” ACM Trans. Inf. Syst. Secur., vol. 9, no. 1, pp. 1-30, 2006. [Online]. Available: https://doi.org/10.1145/1127345.1127346, (hereinafter Ateniese et al.), the entire contents of which is hereby incorporated in its entirety by reference.
Some PRE schemes restrict how many re-encryptions can be performed. Schemes which only permit one re-encryption are called single hop, such as the scheme proposed by Ateniese et al. Multihop PRE schemes, such as described by Blaze et al. and R. Canetti and S. Hohenberger, “Chosen-ciphertext secure proxy re-encryption,”in Proceedings of the 2007 ACM Conference on Computer and Communications Security, CCS 2007, Alexandria, Va., USA, Oct. 28-31, 2007, P. Ning, S. D. C. di Vimercati, and P. F. Syverson, Eds. ACM, 2007, pp. 185-194. [Online]. Available: https://doi.org/10.1145/1315245.1315269, (hereinafter Canetti et al.), the entire contents of which is hereby incorporated in its entirety by reference, do not restrict the number of re-encryptions.
A Public-Key Encryption scheme includes a tuple of algorithms (Setup, KG, E, D) with the following interfaces:
A PRE scheme may be defined as a type of public key encryption scheme. PRE schemes satisfy the correctness properties for both a PKE scheme and for re-encryption. A PRE scheme is a public-key encryption scheme with re-key generation (RKG) and re-encryption (RE) functionalities. Re-encryption has the following interface:
Furthermore, bidirectional PRE schemes expose the following re-key generation interface:
In unidirectional schemes, RKG no longer takes the destination secret key, skj, as input.
Since a PRE scheme is an extension of a PKE scheme, PRE schemes are correct as PKE schemes. PKE correctness may be defined as follows:
A security game has two phases: setup and attack. The setup phase generates key pairs for all participants and splits the key pairs into sets of honest and corrupt participants. The attack phase gives the adversary access to the PRE scheme and a challenge oracle.
Before giving a security definition, the notion of derived ciphertexts, which are used to avoid trivial wins in the security experiment, are introduced herein. A definition of derived ciphertext according to non-limiting embodiments or aspects differs from that of Canetti et al. in that a case in which the re-encryption oracles are deterministic is explicitly targeted.
Derived Ciphertexts may be defined as follows:
Two Re-Key Generation oracles may be defined, one for unidirectional schemes and the other for bidirectional schemes. The unidirectional oracle disallows re-key generation if the adversary attempts to generate a key from an honest to a corrupt party. However, for bidirectional schemes rki→j equals rkj→i, hence for those schemes only queries where either both parties are honest or both are corrupt are permitted.
PRE HRA-CCA Security may be defined as follows:
A Private Proxy Authentication (PPA) scheme is used to securely send authentication data from a sender to a receiver through a set of proxies. In the context of payments, the authentication data is the cardholder's PIN and related data. The sender is the cardholder/POS terminal 304, which passes encrypted data onto a series of intermediaries (e.g., proxies) spanning the payment network (e.g., payment gateway 304, merchant bank 308, etc.) and eventually the receiver is the cardholder's consumer bank 312.
A PPA scheme includes six algorithms (Setup, KG, Send, Verify[A; ak], Enroll, Relay). The Setup function initializes the parameters of the scheme. Key management is performed through the functions KG and Enroll. The KG function is run by each participant to generate a keypair. Enroll is used to generate the rekeys from one party to another.
Each Proxy maintains a set of rekeys that proxy shares with each of its neighbors. Key management is described herein in further detail in the Section titled “Generic PPA Construction”. The Send and Relay functions are run by the sender and proxies respectively to generate the ciphertext for the next hop in the routed payment transaction. A receiver uses the Verify function to check whether the packet (a, c) is authentic. This function utilizes the underlying plaintext authentication predicate A to perform this check. The predicate takes as input the associated data a, plaintext message m and a secret authentication key ak and outputs 0 or 1 depending on whether authentication succeeds or not. In the payments setting A defines the underlying PIN verification method (e.g., IBM3624, etc.). The formal definition for a PPA scheme and its associated correctness is given below.
A PPA scheme for a message space M, associated data space D and underlying authentication predicate A, is a tuple of algorithms PPA[A]=(Setup, KG, Send, Verify[A; ak], Enroll, Relay), and may be defined as follows:
A PPA is -hop correct with respect to a message space M, associated data space D and underlying plaintext authentication predicate A, if the following properties hold:
A PPA scheme is multi-hop correct if it is c-hop correct for all ≥1.
A primary purpose of a PPA scheme is to perform authentication based on the underlying predicate A in a confidential manner. In practice, attacks against a PPA scheme are either performed by direct injection of plaintext (e.g., through a payment terminal) or by injecting encrypted messages into the network. Within the context of authentication, due to the limited message space of PINs (104), an attacker's best strategy is simple brute-force, entering each PIN in turn at a POS device 302. Mitigations against this restrict the number of retries permitted. Non-limiting embodiments or aspects are directed to determining whether PPA schemes can maintain confidentiality in the presence of powerful attackers.
A confidentiality notion may be defined as follows. In the security experiment, the adversary is provided with all public keys instead of just those associated with the initial sender (e.g., POS terminal/partner 304). Any participant now has the possibility to be a sender. This makes the model more general than the standard payments setting where only the public keys of the initial sender (e.g., POS terminals 304) are used for encryption and all other keypairs are only relevant for generating rekeys. This choice results in a stronger security model and, therefore, better security guarantees. The security definition also relies on the notion of derived ciphertexts, which can be easily extended from that defined for the PRE setting for Derived Ciphertexts as described herein.
Referring now to
Relay, ORelay(pki, a, c), if i∈H, a specifies j∈C and (pkj, a, c) is a derivative of the challenge then return ⊥, Else return PPA.Relay(Ri, a, c) Verify, OVerify(pkj, a, c), if (pkj, a, c) is a derivative of the challenge then return ⊥, Else return PPA.Verify[A, ak](skj, a, c)
A PPA scheme PPAA=(Setup, KG, Enroll, Send, Verify, Relay) may be constructed from any multi-hop PRE scheme. In addition to the PRE=(Setup, KG, RKG, E, D, RE) scheme there are two further building blocks. A plaintext authentication predicate A (e.g., PIN verification, such as IBM3624, and/or the like, etc.) takes as input an authentication key ak, some associated data a and a message m, and outputs a bit b which says whether authentication is successful or not. A lookup function L takes as input some associated data a and a set of re-encryption keys Ri and outputs a single re-encryption key rk (the set Ri is defined to be the set of all re-encryption keys output by PPA.Enroll for which the source is i). Note that in practice for payments, each intermediary translates between multiple different parties and, therefore, uses the associated data a to determine the routing (and corresponding re-encryption key) for the next hop.
Initial setup of the PPA scheme is performed by initializing the PRE scheme (PRE.Setup) and the key ak of the authentication predicate A3. Once the system is initialized, the first phase is to perform key setup. Any entity calling PPA.KG runs PRE.KG. Similarly, when generating the re-encryption keys, PRE.Enroll is directly run. Differences in key-management processes between the traditional approach, unidirectional PPA, and bidirectional PPA are further described herein below in this Section titled “Generic PPA Construction”.
The online phase includes running the functions PPA.Send, PPA.Relay, and PPA.Verify. PPA.Send is run by the initial payment terminal 304 capturing the PIN, PPA.Relay is run by each of the intermediaries as the encrypted PIN block is sent through the network, and PPA.Verify is run by the consumer bank 312 performing the final verification. PPA.Send is constructed by simply calling the PRE encryption function PRE.E. The relay call is constructed first by calling the lookup function L to determine the correct reencryption key to use and making the appropriate call to PRE.RE. Finally, PPA.Verify calls the PRE decrypt function PRE.D and provides the output of the PRE decrypt function PRE.D to the authentication predicate A to determine the final output bit b.
An efficient PRE construction, which is used to directly instantiate PPA, is described in more detail herein in the Section titled “An Efficient PPA Construction”. This construction uses a hybrid approach which makes the encrypted PIN blocks backward compatible with existing infrastructure.
A security analysis of a PPA scheme may be configured according to the following theorem and proof:
When A terminates and outputs its guess b, B terminates and outputs the same bit b. It is easy to see that if A wins then B also wins and thus ∈′≤∈.
In a typical key management process for PIN translation keys, each pair of neighboring parties establish a shared symmetric key. For example, when the payment network 310 receives an encrypted PIN from a merchant bank 308, the payment network 310 decrypts the encrypted PIN using the key shared with that merchant bank 308 and encrypts the PIN with a key shared with the consumer bank 312 to which the encrypted PIN is sent. As all keys are held within HSMs, a strict key ceremony process is followed to establish these shared keys. Note that there is no direct online connection between neighboring parties' HSMs which would facilitate an on-line key exchange. Instead, each party designates several employees as key custodians. Two parties that wish to establish a shared key do so in the following way. For the purposes of this description, each party may have two custodians. First, one of the parties (party A) generates a Key-Encryption Key (KEK) in their HSM. The two custodians at party A perform an export operation on the HSM so each custodian receives an XOR-share of the key (k=k1⊕k2). The first custodian seals their XOR share in a tamperproof envelope and sends this to the corresponding custodian at party B via a courier. Similarly, the second custodian sends their XOR-share via a different courier to the corresponding custodian at party B. The custodians at party B engage in an import operation on their HSM. Note that at no time has any one party had knowledge of the full plaintext key. This concept is known as split knowledge. Once both parties have the same KEK loaded in their HSM, all subsequent keys can be shared encrypted under this key (where key generation and encryption under the KEK is performed inside the HSM). This is a strictly audited process and follows closely the requirements mandated by PCI. In particular, the process described above closely follows Control Object 3, Requirement 8 of the PCI PIN Security Requirements.
When considering the reality of key management processes when employing either a bidirectional or unidirectional scheme (note that for either scheme type HSMs are used during the key setup phase as no secret keys should ever be exposed in plaintext), once keys are setup only the final party that performs verification uses an HSM. This greatly reduces HSM counts at the intermediaries who now no longer need to account for the large number of HSM calls for PIN translation previously performed during transactions. A crucial part of key management for PPA is how re-encryption keys are generated. As a bidirectional scheme uses both secret keys in order to compute a re-encryption key, the bidirectional scheme uses a strictly controlled process. In contrast, a unidirectional scheme only uses the source secret key and destination public key. Sharing of the destination public key with the source can be performed in a more relaxed (but still strictly audited) manner.
With respect to the bidirectional PPA case, the final three hops in a basic payment ecosystem: the merchant bank 308, the payment network 310, and the consumer bank 312 may be considered. In the standard setting, the payment network 310 generates all keys and distributes these to the merchant bank 308 and consumer bank 312 using the process described herein previously. In the bidirectional PPA case, whenever a new bank enrolls (whether that be a merchant bank 308 or a consumer bank 312), the trusted payment network key manager (based on an HSM) generates a new key pair. The secret key is shared with the key manager of the enrolling bank. Note that a consumer bank 312 uses the secret key to do the final decryption and a merchant bank 308 uses the secret key to compute earlier re-encryption keys (due to the fact the scheme is bidirectional). The traditional KEK-based approach to securely share these secret keys between parties may be used. In addition to generating and sharing the new key pair at time of enrollment, the key manager computes re-encryption keys. If the new key pair is for a merchant bank 308, the key manager generates a re-encryption key towards each previously enrolled consumer bank 312 (and vice-versa for an enrolling consumer bank 312 from previously enrolled merchant banks 308). The re-encryption keys are given to the “untrusted” payment network application (note the application maintain mn re-encryption keys, where m is the number of merchant banks and n is the number of consumer banks).
In contrast, the uni-directional PPA case is much simpler. Here, when a new participant enrolls, their trusted key manager generates their own key pair. The key manager shares the new public key with their preceding neighbors and additionally requests a public key from each of their succeeding neighbors. Each participant's key manager can generate re-encryption keys based on their own secret key and the public keys of their following neighbors. These re-encryption keys are used by their own application during a transaction. The application holds a re-encryption key associated to each of its succeeding neighbors. In this setting, as only public keys are shared between participants, KEKs or split knowledge during key transfer need not be used, making the key management processes much simpler.
ElGamal encryption, as described by T. E. Gamal, “A public key cryptosystem and a signature scheme based on discrete logarithms,” in Advances in Cryptology, Proceedings of CRYPTO '84, Santa Barbara, Calif., USA, Aug. 19-22, 1984, Proceedings, ser. Lecture Notes in Computer Science, G. R. Blakley and D. Chaum, Eds., vol. 196. Springer, 1984, pp. 10-18. [Online]. Available: https://doi.org/10.1007/3-540-39568-7_2, the contents of which is hereby incorporated by reference in its entirety, forms the basis for many PRE schemes. It also underlies many well-known hybrid-encryption schemes, such as described by R. Cramer and V. Shoup, “A practical public key cryptosystem provably secure against adaptive chosen ciphertext attack,” in Advances in Cryptology—CRYPTO '98, 18th Annual International Cryptology Conference, Santa Barbara, Calif., USA, Aug. 23-27, 1998, Proceedings, ser. Lecture Notes in Computer Science, H. Krawczyk, Ed., vol. 1462. Springer, 1998, pp. 13-25. [Online]. Available: https://doi.org/10.1007/BFb0055717, the contents of which is hereby incorporated by reference in its entirety. A hybrid-encryption scheme is a construction which combines both public-key encryption and symmetric key encryption. It is formed of a Key Encapsulation Mechanism (KEM), used to share a randomly chosen key, and a Data Encapsulation Mechanism (DEM), used to encrypt the data under this random key. A PRE construction according to non-limiting embodiments or aspects may include a hybrid encryption scheme. The DEM is used to encrypt the PIN under a random key protected by the KEM. When re-encryption is performed, changes to the KEM may be made, but the DEM may remain unchanged.
S. Myers and A. Shull, “Efficient hybrid proxy re-encryption for practical revocation and key rotation,” IACR Cryptology ePrint Archive, vol. 2017, p. 833, 2017. [Online]. Available: http://eprint.iacr.org/2017/833, the contents of which is hereby incorporated by reference in its entirety, describe constructions for hybrid proxy re-encryption that focus on use cases related to key rotation for cloud outsourced data storage and access control. In this context key scraping attacks become a major concern. Here, an adversary who previously had access to a file, or for a short time has access to download a large number of KEMs, can decrypt the KEMs to retrieve the random key used by the DEM. Following a key rotation and re-encryption, it is assumed that the adversary should no longer have access to the plaintext. However, in the traditional approach, re-encryption is only performed on the KEM, leaving the DEM the same even after re-encryption. This means that an adversary who previously obtained the random key from the KEM, is always be able to decrypt the data. In non-limiting embodiments or aspects, re-encryption may be performed on the KEM, but key scraping attacks are not a concern for two reasons. Firstly, the DEM only encrypts a very short plaintext (PIN blocks are only 64 bits) so an adversary able to compromise a KEM is able to easily compromise the DEM at the same time. In contrast, DEMs in the outsourced data setting are typically several Megabytes or Gigabytes. Secondly, in the payments setting, ciphertexts do not need to be stored long-term as they are only relevant for a single transaction period.
Referring now to
Referring now to
As shown in
In some non-limiting embodiments or aspects, an intermediary server translates between multiple different parties by decrypting the second ciphertext value and using a portion of the transaction data to determine routing and a corresponding re-encryption key for a subsequent communication.
In some non-limiting embodiments or aspects, transaction data includes at least one of a mobile personal identification number (PIN), a card verification number, or a card number associated therewith.
In some non-limiting embodiments or aspects, the second ciphertext value is used to encrypt a personal identification number (PIN) under the randomly selected key (r) protected by the first ciphertext value, and a re-encryption generates a new ciphertext value while the second ciphertext value is unchanged.
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
As shown in
Referring now to
As shown in
In some non-limiting embodiments or aspects, the second value may be generated as the generator value (g) raised to the power of the first value (a). For example, the second value may be generated as follows:
second value=ga
As shown in
As shown in
In some non-limiting embodiments or aspects, the merchant product (M) may be determined as follows:
As shown in
In some non-limiting embodiments or aspects, the public key (pki) may be generated as follows:
pk
i
=g
aMm
In some non-limiting embodiments or aspects, the random key (rki) may be generated as follows:
As shown in
As shown in
As shown in
In some non-limiting embodiments or aspects, the payment gateway public key for each payment gateway 306 may be generated as follows:
In some non-limiting embodiments or aspects, the payment gateway random key for each payment gateway 306 may be generated as follows:
As shown in
As shown in
In some non-limiting embodiments or aspects, the terminal public key for each POS terminal/partner 304 may be generated as follows:
terminal public key=(payment gateway public key)t
In some non-limiting embodiments or aspects, the terminal random key for each POS terminal/partner 304 may be generated as follows:
As shown in
As shown in
As shown in
As shown in
In some non-limiting embodiments or aspects, the first ciphertext value may be generated as follows:
first ciphertext value=m·gr
In some non-limiting embodiments or aspects, the second ciphertext value may be generated as follows:
second ciphertext value=(terminal public key)r=gaM
As shown in
As shown in
In some non-limiting embodiments or aspects, the second ciphertext value may be re-encrypted as follows:
As shown in
As shown in
In some non-limiting embodiments or aspects, the re-encrypted second ciphertext value may be re-encrypted as follows:
As shown in
As shown in
In some non-limiting embodiments or aspects, payment network 310 may transform the second re-encrypted second ciphertext value as follows:
In some non-limiting embodiments or aspects, payment network 310 may decrypt the first ciphertext value to form the message (m) as follows:
A security analysis of a hybrid PRE scheme according to non-limiting embodiments or aspects may be configured according to the following definitions, theorems and proofs. The domains of the inputs to all algorithms are not made explicit. It is assumed that if an input is entered into an algorithm, then it is in the correct domain. f(a, b, c, . . . ) and fa(b, c . . . ) are written interchangeably. Furthermore, for an adversary A, defined is
ΔA(f1,f2, . . . ;g1,g2 . . . )=|P[Af1,f2, . . . =1]−P[Ag1,g2 . . . ]|.
A Key Encapsulation Mechanism (KEM) includes a tuple of algorithms (KG, Encaps, Decaps) defined as follows:
KEM Correctness may be defines as follows:
Bi-directional KREMs may be defined, and the definition can be modified easily to capture uni-directional KREMs as well.
A Proxy Key Re-Encapsulation Mechanism (KREM) is a KEM with the following added functionality:
A KREM scheme is -hop correct if it is correct as a KEM and for all possible (pki, ski) for i≤i≤+1, for all rki→i+1 for 1≤i≤, with probability one it holds that:
A KREM scheme is multi-hop correct if it is c-hop correct for all t 1.
A DEM is correct if for all k output by KG and all messages m, it holds with probability one that:
D(k,E(k,m))=m.
KEM CCA Advantage may be defined as follows:
ΔAdv(A):=A(pk,c,k,Decapssk;pk,c,k′,Decapssk),
A Data Encapsulation Mechanism (DEM) includes a tuple of algorithms (KG, E, D) defined as follows:
A DEM CCA Advantage may be defined by considering a DEM (KG, E, D), then the CCA advantage of an adversary A is
ΔAdv(A):=A(Ek,Dk;$ºEk,⊥),
A KREM CCA Advantage may be defined by considering a key re-encapsulation mechanism KREM:=(KG, Encaps, Decaps, RKG, ReEncaps). Let A be an adversary, and let AGi denote an execution of the KREM CCA game defined below with b set to i. Then A's KREM CCA advantage is defined as
ΔAdvKREM(A):=A(G0;G1).
The following theorem follows from a straightforward hybrid argument:
AdvPRE(A)≤AdvKREM(B)+AdvDEM(C).
An ODH-RO Advantage, which is an adversary A's advantage in playing the ODH-RO game, is
ΔA(F(⋅);gu,gv,F(guv),Fv(⋅);F(⋅),gu,gv,W,Fv(⋅)),
AdvKREM(A)≤AdvODH-RO(B),
It can be shown that the standard PIN block encryption scheme is a secure DEM. These constructions are very related to the Encode-then-Encipher paradigm formalized by M. Bellare and P. Rogaway, “Encode-then-encipher encryption: How to exploit nonces or redundancy in plaintexts for efficient cryptography,” in Advances in Cryptology—ASIACRYPT 2000, 6th International Conference on the Theory and Application of Cryptology and Information Security, Kyoto, Japan, Dec. 3-7, 2000, Proceedings, ser. Lecture Notes in Computer Science, T. Okamoto, Ed., vol. 1976. Springer, 2000, pp. 317-330. [Online]. Available: https://doi.org/10.1007/3-540-44448-3_24, (hereinafter Bellare et al.) the contents of which is hereby incorporated by reference in its entirety. Two main differences are that: 1) additional associated data is considered, and 2) due to the use of hybrid encryption, only one-time use of the key/cipher need be considered. An effect of this last point is that the collision resistance of the encoding scheme no longer need be considered since there is only ever be one encrypt call for each DEM key. EPB's SE as defined in
A PPA scheme may be implemented using Java. For example, a NIST P-256 curve (a.k.a. secp256r1) with the parameters recommended by the standard may be used. This curve provides approximately 128-bits of security. The Bouncy Castle Crypto APIs may be used for its elliptic curve implementations. In such an example, all parties involved in PIN-based transactions may interact in the following order: POS application invokes PPA.Send method and sends the encrypted PIN to a payment gateway, payment gateway then invokes PPA.Relay method and sends the re-encrypted PIN to the merchant bank, merchant bank forwards the message to a payment network, payment network invokes PPA.Relay method and sends the re-encrypted PIN to the consumer bank for authorization. Finally, the consumer bank invokes PPA.Verify method to authorize the transaction. Each intermediary deploys PPA.Relay method in their own environment and interact with the consumer bank using ISO 8583 messages.
Both intermediary and the consumer bank applications may be run on a single machine. A prototype payment gateway service may be implemented as a web application accessed over HTTPS. All requests from the POS application are first handled by this web application and invoke the merchant bank web application running on a different port in the same machine. The merchant bank web application sends the request to the consumer bank web application via payment network web application. Dropwizard may be used to implement all prototype web applications. All web applications excluding the consumer bank web application may need to efficiently manage re-encryption keys to invoke PPA.Relay method. LevelDb may be used to store all the re-encryption keys and load the stored re-encryption keys in the memory during the web application startup.
Referring now to
As shown by reference number 1320 in
As shown by reference number 1322 in
As shown by reference number 1324 in
As shown by reference number 1326 in
As shown by reference number 1328 in
As shown by reference number 1330 in
As shown by reference number 1332 in
As shown by reference number 1334 in
As shown by reference number 1336 in
As shown by reference number 1338 in
As shown by reference number 1340 in
As shown by reference number 1342 in
As shown by reference number 1344 in
As shown by reference number 1346 in
As shown by reference number 1348 in
Referring now to
As shown by reference number 1420 in
As shown by reference number 1422 in
As shown by reference number 1424 in
As shown by reference number 1426 in
As shown by reference number 1428 in
As shown by reference number 1430 in
As shown by reference number 1432 in
As shown by reference number 1434 in
As shown by reference number 1436 in
As shown by reference number 1438 in
Referring now to
As shown by reference number 1520 in
As shown by reference number 1522 in
As shown by reference number 1524 in
As shown by reference number 1526 in
As shown by reference number 1528 in
As shown by reference number 1530 in
As shown by reference number 1532 in
As shown by reference number 1534 in
As shown by reference number 1536 in
As shown by reference number 1538 in
As shown by reference number 1540 in
As shown by reference number 1542 in
As shown by reference number 1544 in
As shown by reference number 1546 in
Referring now to
As shown by reference number 1620 in
As shown by reference number 1622 in
As shown by reference number 1624 in
As shown by reference number 1626 in
As shown by reference number 1628 in
As shown by reference number 1630 in
Referring now to
As shown by reference number 1720 in
In some non-limiting embodiments or aspects, the second value may be generated as the generator value (g) raised to the power of the first value (a). For example, the second value may be generated as follows:
second value=ga
As shown by reference number 1722 in
As shown by reference number 1724 in
In some non-limiting embodiments or aspects, the merchant product (M) may be determined as follows:
where k is the number of merchant banks.
As shown by reference number 1726 in
In some non-limiting embodiments or aspects, the public key (pki) for each merchant bank 1708 may be generated as follows:
pk
i
=g
aMm
In some non-limiting embodiments or aspects, the random key (rki) may be generated as follows:
As shown by reference number 1728 in
As shown by reference number 1730 in
As shown by reference number 1732 in
In some non-limiting embodiments or aspects, the payment gateway public key for each payment gateway 1706 may be generated as follows:
In some non-limiting embodiments or aspects, the payment gateway random key for each payment gateway 1706 may be generated as follows:
As shown by reference number 1734 in
As shown by reference number 1736 in
In some non-limiting embodiments or aspects, the terminal public key for each POS terminal/partner 1704 may be generated as follows:
Terminal Public Key=(Payment Gateway Public Key)t
In some non-limiting embodiments or aspects, the terminal random key for each POS terminal/partner 1704 may be generated as follows:
As shown by reference number 1738 in
As shown by reference number 1740 in
Referring now to
As shown by reference number 1820 in
As shown by reference number 1822 in
In some non-limiting embodiments or aspects, the first ciphertext value may be generated as follows:
first ciphertext value=m·gr
In some non-limiting embodiments or aspects, the second ciphertext value may be generated as follows:
second ciphertext value=(terminal public key)r=gaM
As shown by reference number 1824 in
As shown by reference number 1826 in
In some non-limiting embodiments or aspects, the second ciphertext value may be re-encrypted as follows:
As shown by reference number 1828 in
As shown by reference number 1830 in
In some non-limiting embodiments or aspects, the re-encrypted second ciphertext value may be re-encrypted as follows:
As shown by reference number 1832 in
As shown by reference number 1834 in
In some non-limiting embodiments or aspects, payment network 1810 may transform the second re-encrypted second ciphertext value as follows:
In some non-limiting embodiments or aspects, payment network 1810 may decrypt the first ciphertext value to form the message (m) as follows:
As shown by reference number 1836 in
Although the disclosed subject matter has been described in detail for the purpose of illustration based on what is currently considered to be the most practical and preferred embodiments or aspects, it is to be understood that such detail is solely for that purpose and that the disclosed subject matter is not limited to the disclosed embodiments or aspects, but, on the contrary, is intended to cover modifications and equivalent arrangements that are within the spirit and scope of the appended claims. For example, it is to be understood that the presently disclosed subject matter contemplates that, to the extent possible, one or more features of any embodiment can be combined with one or more features of any other embodiment.
This application is the United States national phase of International Application No. PCT/US2020/012891 filed Jan. 9, 2020 and claims priority to United States Provisional Patent Application Nos. 62/790,163, filed on Jan. 9, 2019, and 62/929,344, filed on Nov. 1, 2019, the disclosures of which are incorporated by reference herein in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US20/12891 | 1/9/2020 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
62790163 | Jan 2019 | US | |
62929344 | Nov 2019 | US |