Site Tools


Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
msr_정보

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
msr_정보 [2017/09/12 21:37]
1.241.172.144
msr_정보 [2017/09/12 21:41] (current)
1.241.172.144
Line 1: Line 1:
 ===== ANSI/ISO BCD Data format ===== ===== ANSI/ISO BCD Data format =====
  
-This is a 5-bit Binary Coded Decimal format. +This is a 5-bit Binary Coded Decimal format.\\ 
-It uses a 16-character set, which uses 4 of the 5 available bits. +It uses a 16-character set, which uses 4 of the 5 available bits.\\ 
-The 5th bit is an ODD parity bit, which means there must be an odd number of 1's in the 5-bit character..the parity bit will '​force'​ the total to be odd. +The 5th bit is an ODD parity bit, which means there must be an odd number of 1's in the 5-bit character..the parity bit will '​force'​ the total to be odd.\\ 
-Also, the Least Significant Bits are read FIRST on the strip.+Also, the Least Significant Bits are read FIRST on the strip.\\
  
-The sum of the 1's in each case is odd, thanks to the parity bit. +The sum of the 1's in each case is odd, thanks to the parity bit.\\ 
-If the read system adds up the 5 bits and gets an EVEN number, it flags the read as ERROR, and you gotta scan the card again. (yeah, I *know* a lot of you out there *already* understand parity, but I gotta cover all the bases...not everyone sleeps with their modem and can recite the entire AT command set at will, you know ;). +If the read system adds up the 5 bits and gets an EVEN number, it flags the read as ERROR, and you gotta scan the card again. (yeah, I *know* a lot of you out there *already* understand parity, but I gotta cover all the bases...not everyone sleeps with their modem and can recite the entire AT command set at will, you know ;).\\ 
-See following Figure for details of ANSI/ISO BCD.+See following Figure for details of ANSI/ISO BCD.\\
  
  
Line 42: Line 42:
  3 Control Characters  3 Control Characters
  
-The magstripe begins with a string of Zero bit-cells to permit the self-clocking feature of biphase to "​sync"​ and begin decoding. +The magstripe begins with a string of Zero bit-cells to permit the self-clocking feature of biphase to "​sync"​ and begin decoding.\\ 
-A "Start Sentinel"​ character then tells the reformatting process where to start grouping the decoded bitstream into groups of 5 bits each. +A "Start Sentinel"​ character then tells the reformatting process where to start grouping the decoded bitstream into groups of 5 bits each.\\ 
-At the end of the data, an "End Sentinel"​ is encountered,​ which is followed by an "​Longitudinal Redundancy Check (LRC) character. +At the end of the data, an "End Sentinel"​ is encountered,​ which is followed by an "​Longitudinal Redundancy Check (LRC) character.\\ 
-The LRC is a parity check for the sums of all b1, b2, b3, and b4 data bits of all preceding characters. +The LRC is a parity check for the sums of all b1, b2, b3, and b4 data bits of all preceding characters.\\ 
-The LRC character will catch the remote error that could occur if an individual character had two compensating errors in its bit pattern (which would fool the 5th-bit parity check).+The LRC character will catch the remote error that could occur if an individual character had two compensating errors in its bit pattern (which would fool the 5th-bit parity check).\\
  
-The START SENTINEL, END SENTINEL, and LRC are collectively called "​Framing Characters",​ and are discarded at the end of the reformatting process.+The START SENTINEL, END SENTINEL, and LRC are collectively called "​Framing Characters",​ and are discarded at the end of the reformatting process.\\
  
  
 ===== ANSI/ISO ALPHA Data Format ===== ===== ANSI/ISO ALPHA Data Format =====
  
-Alphanumeric data can also be encoded on magstripes. +Alphanumeric data can also be encoded on magstripes.\\ 
-The second ANSI/ISO data format is ALPHA (alphanumeric) and involves a 7-bit character set +The second ANSI/ISO data format is ALPHA (alphanumeric) and involves a 7-bit character set with 64 characters.\\ 
- with 64 characters. +As before, an odd parity bit is added to the required 6 data bits for each of the 64 characters.\\
-As before, an odd parity bit is added to the required 6 data bits for each of the 64 characters.+
  
  
 ANSI/ISO ALPHA Data Format ANSI/ISO ALPHA Data Format
 +
  * Remember that b1 (bit #1) is the LSB (least significant bit)!  * Remember that b1 (bit #1) is the LSB (least significant bit)!
  * The LSB is read FIRST!  * The LSB is read FIRST!
  * Hexadecimal conversions of the Data Bits are given in parenthesis (xH).  * Hexadecimal conversions of the Data Bits are given in parenthesis (xH).
  
- ----Data Bits---- Parity + Data Bits         ​Parity 
- b1 b2 b3 b4 b5 b6 b7 Character Function + -------------------- 
- 40 0  0  0  0  0  0  1 space (0H) Special + b1 b2 b3 b4 b5 b6 b7 Character Function 
- 01 1  0  0  0  0  0  0 ! (1H) "​ + 0  0  0  0  0  0  1 space (0H) Special 
- 02 0  1  0  0  0  0  0 " (2H) "​ + 1  0  0  0  0  0  0 ! (1H) "​ 
- 43 1  1  0  0  0  0  1 # (3H) "​ + 0  1  0  0  0  0  0 " (2H) "​ 
- 04 0  0  1  0  0  0  0 $ (4H) "​ + 1  1  0  0  0  0  1 # (3H) "​ 
- 1  0  1  0  0  0  1 % (5H) Start Sentinel + 0  0  1  0  0  0  0 $ (4H) "​ 
- 0  1  1  0  0  0  1 & (6H) Special + 1  0  1  0  0  0  1 % (5H) Start Sentinel 
- 1  1  1  0  0  0  0 ' (7H) "​ + 0  1  1  0  0  0  1 & (6H) Special 
- 0  0  0  1  0  0  0 ( (8H) "​ + 1  1  1  0  0  0  0 ' (7H) "​ 
- 1  0  0  1  0  0  1 ) (9H) "​ + 0  0  0  1  0  0  0 ( (8H) "​ 
- 0  1  0  1  0  0  1 * (AH) "​ + 1  0  0  1  0  0  1 ) (9H) "​ 
- 1  1  0  1  0  0  0 + (BH) "​ + 0  1  0  1  0  0  1 * (AH) "​ 
- 0  0  1  1  0  0  1 , (CH) "​ + 1  1  0  1  0  0  0 + (BH) "​ 
- 1  0  1  1  0  0  0 - (DH) "​ + 0  0  1  1  0  0  1 , (CH) "​ 
- 0  1  1  1  0  0  0 . (EH) "​ + 1  0  1  1  0  0  0 - (DH) "​ 
- 1  1  1  1  0  0  1 / (FH) "​ + 0  1  1  1  0  0  0 . (EH) "​ 
- 0  0  0  0  1  0  0 0 (10H) Data (numeric) + 1  1  1  1  0  0  1 / (FH) "​ 
- 1  0  0  0  1  0  1 1 (11H) "​ + 0  0  0  0  1  0  0 0 (10H) Data (numeric) 
- 0  1  0  0  1  0  1 2 (12H) "​ + 1  0  0  0  1  0  1 1 (11H) "​ 
- 1  1  0  0  1  0  0 3 (13H) "​ + 0  1  0  0  1  0  1 2 (12H) "​ 
- 0  0  1  0  1  0  1 4 (14H) "​ + 1  1  0  0  1  0  0 3 (13H) "​ 
- 1  0  1  0  1  0  0 5 (15H) "​ + 0  0  1  0  1  0  1 4 (14H) "​ 
- 0  1  1  0  1  0  0 6 (16H) "​ + 1  0  1  0  1  0  0 5 (15H) "​ 
- 1  1  1  0  1  0  1 7 (17H) "​ + 0  1  1  0  1  0  0 6 (16H) "​ 
- 0  0  0  1  1  0  1 8 (18H) "​ + 1  1  1  0  1  0  1 7 (17H) "​ 
- 1  0  0  1  1  0  0 9 (19H) "​ + 0  0  0  1  1  0  1 8 (18H) "​ 
- 0  1  0  1  1  0  0 : (1AH) Special + 1  0  0  1  1  0  0 9 (19H) "​ 
- 1  1  0  1  1  0  1 ; (1BH) "​ + 0  1  0  1  1  0  0 : (1AH) Special 
- 0  0  1  1  1  0  0 < (1CH) "​ + 1  1  0  1  1  0  1 ; (1BH) "​ 
- 1  0  1  1  1  0  1 = (1DH) "​ + 0  0  1  1  1  0  0 < (1CH) "​ 
- 0  1  1  1  1  0  1 > (1EH) "​ + 1  0  1  1  1  0  1 = (1DH) "​ 
- 1  1  1  1  1  0  0 ? (1FH) End Sentinel + 0  1  1  1  1  0  1 > (1EH) "​ 
- 0  0  0  0  0  1  0 @ (20H) Special + 1  1  1  1  1  0  0 ? (1FH) End Sentinel 
- 1  0  0  0  0  1  1 A (21H) Data (alpha) + 0  0  0  0  0  1  0 @ (20H) Special 
- 0  1  0  0  0  1  1 B (22H) "​ + 1  0  0  0  0  1  1 A (21H) Data (alpha) 
- 1  1  0  0  0  1  0 C (23H) "​ + 0  1  0  0  0  1  1 B (22H) "​ 
- 0  0  1  0  0  1  1 D (24H) "​ + 1  1  0  0  0  1  0 C (23H) "​ 
- 1  0  1  0  0  1  0 E (25H) "​ + 0  0  1  0  0  1  1 D (24H) "​ 
- 0  1  1  0  0  1  0 F (26H) "​ + 1  0  1  0  0  1  0 E (25H) "​ 
- 1  1  1  0  0  1  1 G (27H) "​ + 0  1  1  0  0  1  0 F (26H) "​ 
- 0  0  0  1  0  1  1 H (28H) "​ + 1  1  1  0  0  1  1 G (27H) "​ 
- 1  0  0  1  0  1  0 I (29H) "​ + 0  0  0  1  0  1  1 H (28H) "​ 
- 0  1  0  1  0  1  0 J (2AH) "​ + 1  0  0  1  0  1  0 I (29H) "​ 
- 1  1  0  1  0  1  1 K (2BH) "​ + 0  1  0  1  0  1  0 J (2AH) "​ 
- 0  0  1  1  0  1  0 L (2CH) "​ + 1  1  0  1  0  1  1 K (2BH) "​ 
- 1  0  1  1  0  1  1 M (2DH) "​ + 0  0  1  1  0  1  0 L (2CH) "​ 
- 0  1  1  1  0  1  1 N (2EH) "​ + 1  0  1  1  0  1  1 M (2DH) "​ 
- 1  1  1  1  0  1  0 O (2FH) "​ + 0  1  1  1  0  1  1 N (2EH) "​ 
- 0  0  0  0  1  1  1 P (30H) "​ + 1  1  1  1  0  1  0 O (2FH) "​ 
- 1  0  0  0  1  1  0 Q (31H) "​  + 0  0  0  0  1  1  1 P (30H) "​ 
- 0  1  0  0  1  1  0 R (32H) "​ + 1  0  0  0  1  1  0 Q (31H) "​  
- 1  1  0  0  1  1  1 S (33H) "​ + 0  1  0  0  1  1  0 R (32H) "​ 
- 0  0  1  0  1  1  0 T (34H) "​ + 1  1  0  0  1  1  1 S (33H) "​ 
- 1  0  1  0  1  1  1 U (35H) "​ + 0  0  1  0  1  1  0 T (34H) "​ 
- 0  1  1  0  1  1  1 V (36H) "​ + 1  0  1  0  1  1  1 U (35H) "​ 
- 1  1  1  0  1  1  0 W (37H) "​ + 0  1  1  0  1  1  1 V (36H) "​ 
- 0  0  0  1  1  1  0 X (38H) "​ + 1  1  1  0  1  1  0 W (37H) "​ 
- 1  0  0  1  1  1  1 Y (39H) "​ + 0  0  0  1  1  1  0 X (38H) "​ 
- 0  1  0  1  1  1  1 Z (3AH) "​ + 1  0  0  1  1  1  1 Y (39H) "​ 
- 1  1  0  1  1  1  0 [ (3BH) Special + 0  1  0  1  1  1  1 Z (3AH) "​ 
- 0  0  1  1  1  1  1 \ (3DH) Special + 1  1  0  1  1  1  0 [ (3BH) Special 
- 1  0  1  1  1  1  0 ] (3EH) Special + 0  0  1  1  1  1  1 \ (3DH) Special 
- 0  1  1  1  1  1  0 ^ (3FH) Field Separator + 1  0  1  1  1  1  0 ] (3EH) Special 
- 1  1  1  1  1  1  1 _ (40H) Special + 0  1  1  1  1  1  0 ^ (3FH) Field Separator 
- + 1  1  1  1  1  1  1 _ (40H) Special 
- ***** 64 Character 7-bit Set *****+  
 + * 64 Character 7-bit Set
  * 43 Alphanumeric Data Characters  * 43 Alphanumeric Data Characters
  * 3 Framing/​Field Characters  * 3 Framing/​Field Characters
  * 18 Control/​Special Characters  * 18 Control/​Special Characters
  
-The two ANSI/ISO formats, ALPHA and BCD, allow a great variety of data to be stored on magstripes. +The two ANSI/ISO formats, ALPHA and BCD, allow a great variety of data to be stored on magstripes.\\ 
-Most cards with magstripes use these formats, but occasionally some do not. +Most cards with magstripes use these formats, but occasionally some do not.\\ 
-More about those lateron.  +More about those lateron.\\ 
-*/+
  
-/* ANSI/ISO Track 1,2,3 Standards+===== ANSI/ISO Track 1,2,3 Standards ​=====
  
-Track Name Density Format Characters Function +  ​Track Name Density Format Characters Function 
------------------------------------------------------------------------------------ +  ----------------------------------------------------------------------------------- 
-1 IATA 210 bpi ALPHA 79 Read Name & Account +  1 IATA 210 bpi ALPHA 79 Read Name & Account 
-2 ABA 75 bpi BCD 40 Read Account +  2 ABA 75 bpi BCD 40 Read Account 
-3 THRIFT 210 bpi BCD 107 Read Account & *Encode* Transaction ​+  3 THRIFT 210 bpi BCD 107 Read Account & *Encode* Transaction ​
  
  
-This contains an explanation about the format of the three magnetic tracks in standard +This contains an explanation about the format of the three magnetic tracks in standard identification cards, particularly those used in financial transactions,​ i.e., credit and debit cards.\\
- identification cards, particularly those used in financial transactions,​ i.e., credit +
- and debit cards.+
  
-It is a summary of the international standards ISO-7813(tracks 1 and 2) and +It is a summary of the international standards ISO-7813(tracks 1 and 2) and ISO-4909(track 3).\\
- ISO-4909(track 3).+
  
  
msr_정보.1505219821.txt.gz · Last modified: 2017/09/12 21:37 by 1.241.172.144