ED/EP Series 4-memory labeling command, edep

Source: Internet
Author: User

ED/EP Series 4-memory labeling command, edep
1. Inventory transaction
Through the deposit transaction, the cardholder can transfer the funds in the corresponding account of the bank into the electronic passbook or e-wallet.


Features:

1) -- must be online on the financial terminal;

2) -- the personal identification code (PIN) must be submitted)


Steps:
1) -- terminal: Start the account into the transaction (initialize for load)
2) -- IC Card: process the initialize for load command, check whether the key (DLK) index number (NO: 9403) provided in the command is supported, generate a process key (SESPK), and generate a MAC1
3) -- terminal: Verify MAC1. The host will generate SESLK and confirm whether MAC1 is valid.
4) -- delivery error status: if the deposit-and-deposit transaction is not accepted, the host should notify the terminal
5) -- transaction processing: deducts the deposit amount and generates a message authentication code (MAC2)
6) -- issue the "credit for load" command: update the electronic passbook or wallet balance on the card
7) -- IC Card: Verify MAC2 (NO: 9302 ).
8) -- transaction processing: the online transaction serial number of the electronic passbook or the online transaction serial number of the Electronic Wallet plus 1. The transaction amount is accumulated to the balance and the transaction details are updated.
9) -- Return confirmation: the IC card sends the TAC back to the terminal, and the host can not immediately verify the TAC


PIN = 888888JE = 00100000DLK = 0000000000000000000000000000000000000066dtk = 00000000000000000000000000000077 CPURESET () encoding + PIN // check password 805C000204 (deposit amount + 9000) // storage initialization: Key Index Number (1 byte) + transaction amount (4 bytes) + terminal number (6 bytes) 805000020B + 01 + JE + 000000000001 + 10 (XYSJ + 9000) // P2: 01-> ED, 02-> EPJYE = COPY (XYSJ,) // ED or EP 4-byte JYXH = COPY (XYSJ, 9,4) // ED or EP online transaction No. 2 bytes // key version 1 byte // Algorithm ID 1 byte WSJS = COPY (XYSJ, 17,8) // pseudo-random number 4-byte MAC1 = LAST (XYSJ, 8) // MAC1 4-byte ECB_3DES_EN (WSJS + JYXH + 8000, DLK, SESLK) // process key // verify MAC1: old balance (4 bytes) + transaction amount (4 bytes) + transaction type (1 byte) + terminal number (6 bytes) 3DES_MAC (0000000000000000 + JYE + JE + 02 + 000000000001 + 80, SESLK, _ MAC1) // terminal: Verify MAC13DES_MAC (0000000000000000 + JE + 02 + 000000000001 + 20100625 + 153030 + 800000000000 +, SESLK, MAC2) // terminal: Generate MAC2 // financial deposit transaction: credit for LOAD805200000B + 20100625 + 153030 + MAC2 + 04 (TAC + 9000) // IC Card: verify MAC2 // terminal TAC: New Balance (4 bytes) + online transaction serial number (2 bytes) + transaction amount (4 bytes) + transaction type (1 byte) + terminal number (6 bytes) + Transaction date (4 bytes) + transaction time (3 bytes) 3DES_MAC (0000000000000000 + JYE + JYXH + JE + 02 + 000000000001 + 20100625 + 153030, DTK, _ TAC) 805C000204 (deposit amount + 9000)



2. Easy cycle submission

The circle is easy to submit. The Cardholder can transfer part or all of the funds in the electronic passbook to the corresponding account of the bank.

Features:

1) -- must be online on the financial terminal;
2) -- the personal identification code (PIN) must be submitted)
3) -- only supports the electronic passbook Application


Steps:
1) -- terminal: INITIALIZE FOR UNLOAD)
2) -- IC Card: process the initialize for load command
Check whether the provided key index number (NO: 9403) is supported)
Check whether the deposit amount in the circle exceeds the balance of the electronic passbook
Generates a pseudo-random number (ICC), a process key SESULK, and a packet signature code (MAC1)
3) -- Host: generate SESULK and verify if MAC1 is valid
4) -- Host: generates a message signature code (MAC2) for the IC card to check the validity of the host.
5) -- terminal: Send the debit for unload command to the IC Card
6) -- IC Card: Verify MAC2 (NO: 9302)
7) -- IC Card: transaction processing, and generates a message authentication code (MAC3)
8) -- Host: Verify MAC3


CPURESET () 00a40000023f0000a400000210020000003 + 888888 // verify the password 805C000204 (the advance amount of the circle + 9000) JE = 00001000 // initialize for unload key index number + transaction amount + terminal number 805005010B + 01 + JE + 000000000001 + 10 (QTJY + 9000) JYE = COPY (QTJY) // ED balance 4 bytes JYXH = COPY (QTJY, 9,4) // ED online transaction No. 2 bytes // key version 1 byte // Algorithm ID 1 byte WSJS = COPY (QTJY, 17, 8) // pseudo-random number 4-byte MAC1 = LAST (QTJY, 8) // MAC1 4-byte DULK = 0971c9fd4d1_cc5cec80c67c69274e3 // SESULK: pseudo-random number (ICC) | online transaction No. of the electronic passbook | '000000' ECB _ 3DES_EN (WSJS + JYXH + 8000, DULK, SESLK) // verify MAC1: Old balance (4 bytes) + transaction amount (4 bytes) + transaction type (1 byte) + terminal number (6 bytes) 3DES_MAC (0000000000000000 + JYE + JE + 03 + 000000000001 + 80, SESLK, _ MAC1) // host: Verify MAC13DES_MAC (0000000000000000 + JE + 03 + 000000000001 + 20100625 + 153030 + 800000000000, SESLK, MAC2) // host: generate MAC2 // debit for unload 805403000B + 20100625 + 153030 + MAC2 + 04 (MAC3 + 9000) // IC Card: Verify MAC2805C000204 (the amount after the cycle is lifted + 9000)




3. Cash Transaction

Features:
1) -- must be performed on a financial terminal and can be processed offline.
2) -- the personal identification code (PIN) must be submitted)
3) -- only supports the electronic passbook Application

Steps:
1) -- terminal: Start the withdrawal transaction (initialize for cash withdraw)
2) -- IC Card: Check whether the provided key index number (NO: 9403) is supported, check whether the ED balance is greater than or equal to the transaction amount, and generate a pseudo random number (ICC), a process key SESUK
3) -- terminal: the terminal sends out the consumption/withdrawal command,
4) -- IC Card: Verify MAC1. Deduct the withdrawal transaction amount and Add 1 to the offline transaction number of the electronic passbook to generate a message authentication code (MAC2)
5) -- terminal: Verify MAC2


CPURESET () JE = 00000001 // consumption amount DPK = 7dae5e53140a9170c21d5805eadb7e9a00a400000210020000003 + 888888 // verify the password // initialize for cash withdraw) key Index Number + transaction amount + terminal number 805002010B + 01 + JE + 000000000001 (XYSJ2 + 9000) YE = COPY (XYSJ2,)/ED balance 4 TJJYXH = COPY (XYSJ2, 9, 4) // ED offline transaction No. 2 YZXE = COPY (XYSJ2, 13, 6) // overdraft limit 3 // key version number (DPK) 1 // Algorithm ID (DPK) 1 WSJS = COPY (XYSJ2, 0001) // pseudo random number (IC Card) 4 JYXH = // SESUK: Pseudo Random Number (ICC) | online transaction No. of the electronic passbook | '000000' ECB _ 3DES_EN (WSJS + JYXH + 8000, DPK, SESLK) // transaction amount + transaction type identifier + terminal number + Transaction date + transaction time 3DES_MAC (0000000000000000 + JE + 000000000001 + 20090225 + 153030 + 80000000000000, SESLK, MAC1) 805401000F + 0000 + JYXH + 20110106 + 120000 + MAC1 + 08 (FHZ + 9000) // TAC4WSJS = COPY (FHZ, 9,8) // MAC243DES_MAC (0000000000000000 + JE + 80000000, SESLK, _ MAC2





In RT △abc, vertex ABC = 90 °, and vertex D is the midpoint of the AC, and the split line DE of ∠ ADB is handed over to vertex E ①.


Because D is the AC midpoint, AD = BD = DC, so ∠ BDC = ∠ C. because zookeeper is the outer angle of △bdc, and DE is equally divided into zookeeper, Zookeeper = DBC + ∠ C = 2 ∠ C = 2 ∠ EDA, ∠ C = ∠ EDA, so DE // BC. ② AE = 3, AD = 5, then ED = 4, EB = 3, 1) If E is the vertex of the isosceles triangle, then ED = EP = 4, which is obtained by the Stock theorem, BP = root 72) If D is the vertex, DE = DP = 4. There are two situations: a: If EDP is the acute angle, BP = 4-root 7; b: If the direction EDP is blunt, BP = 4 + 7. 3) If P is the vertex, BP = 2
 
In the rectangle ABCD, point E is connected to BE, must ABE = 30 °, BE = DE on the edge AD.


(1) The rectangle ABCD contains A = 90 ° ∴ △abe is A right triangle. tan has ABE = AE: AB = AE: 2 root 3 = root 3:3 AE = 2 primary ab² + AE ² = BE 2 primary BE = 4 primary DE = 4 primary AD = AE + DE = 2 + 4 = 6.
(2) connect CM and submit BD to vertex G (figure 2)
When when A = 90 ° then △abd is A right triangle then ab² + AD ² = BD ² then BD = 4 digits 3 then sin else ADB = AB: BD = 2, 3 =, 1_1_adb = 30 ° 1_m is DE midpoint 1_em = DM = 1/2DE = 1/2 × 4 = 2] MN 1_bd 1_mn: BD = EM: DE = 108mn = 2 3 # rectangle ABCD %%%adc = 90 ° %△cdm is right triangle %dm² + cd² = CM ² %cm = 4 at Rt △ CDM, cos export CMD = DM: CM = 1_1_cmd = 60 ° 1_cmd + 1_mdg + 1_dgm = 180 ° 1_dgm = 180 °-30 °-60 ° = 90 ° 1_mn when BD then mongodgm = ∠ MN = 90 ° then △cen is a right triangle between MN ² + CM ² = CN 2 then CN = 2 roots 7 then S △cen = 1/2MN × MC = 1/2CN × MF = MN × MC × CN = 2 numbers 3 × 4 × 2 numbers 7 = 4 numbers 21/7.
(3) BE = DM + root No. 3/3 MN
Where AE = 1 is in Rt △abe, tan %abe = AE: AB = 1: AB = root: 3:3 then AB = root: 3, sin %abe = AE: BE = 1: BE = must BE = 2 when DE = 2 in Rt △abd, ab² + AD ² = BD ², BD = 2 roots 3 When MN then BD then MN: BD = EM: DE ∴ MN: 2 root 3 = EM: 2 root EM = root 3/3 MN cannot BE = DE = EM + DM cannot BE = DM + root 3/3 MN
Hope to be accepted by you! Thank you!

Reference: self-developed


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.