Hermione Granger, Elizabeth Swann, Isabelle and Cadance Flynn BarWorks Code

The Hermione Granger, Elizabeth Swann, Isabelle and Cadance Flynn BarWorks Codes are unique codes used by the four characters. These are created by four chaarcters in 2003, 2005, 2013 and 2014 respectively. It uses the RMS4CC symbology; and it uses the CRC-32 checksum algorithm to detect accidental changes to raw data. The BarWorks codes were assigned to gamers.

Hermione Granger
The Hermione Granger BarWorks Code has the structure of (see table): The inward code does not include the letters I, Q or U (to prevent offensive combinations); while for the outward code it does not include the letters D, F, I, O, Q, U, V or W (for similarity to numbers). The first character of the inward code indicates the region: The friend address does not include the letters G, H, I, O, Q, S, U, V, W or Z (this means only numbers 0 to 9 and letters A, B, C, D, E, F, J, K, L, M, N, P, R, T, X and Y can be included in friend address). In East Asia, the number 4 is not allowed in friend address section of this BarWorks Code because number 4 in the East Asian nations is unlucky because the Chinese word for four (四, pinyin: sì, jyutping: sei3), sounds quite similar to the word for death (死, pinyin: sǐ, jyutping: sei2), in many varieties of Chinese. Similarly, the Sino-Japanese, Sino-Korean, and Sino-Vietnamesewords for four, shi (し, Japanese), and sa (사, Korean), sound similar or identical to death in each language, so the number 4 should not be used when assigning Hermione Granger BarWorks codes to East Asian users.
 * A, B, C, D, E, F: North America
 * G, H, J, K: Asia, Japan, South Korea
 * L, M, N, O, P, Q: Europe
 * R, S, T, V, W, X, Y: Australia
 * Z: Unknown

The DFP contains two alphabetic digits, ranging from AA to YY but excluding letters I, Q, U and Z.

The CRC-32 checksum is calclulated from the whole string ananannaaannnaa.

Examples: (A1C7R 04EK G267JH 1918BC32), (A2H0V 56EP P014MF E3A4BA5D)

Elizabeth Swann
The Elizabeth Swann's BarWorks Code contains:
 * A start character
 * 3 numbers for inward code
 * 3 letters for outward code
 * A space
 * 4 numbers plus 2 letters for friend address
 * A letter, 2 numbers and a letter for DFP
 * A space
 * 4 numbers for registration year
 * 2 numbers for registration month
 * A space
 * 8 hexadecimal digits for CRC checksum
 * A stop character