refId Formula For MNA
создатель Htet Nyi Nyi Aung
1. Input: $this->sourceCode
1.1. Values is MNA
2. Encryption Process: encryptSource($this->sourceCode)
2.1. MD5 Hashing
2.2. Substring Extraction (first 8 chars)
2.3. Hexadecimal to Decimal Conversion
2.4. Result: $encsource
3. Truncation: substr($source_enc, 0, 3)
3.1. First 3 digits of $encsource
4. refId and routeId Generation
4.1. routeId: 'UB' . $j . $source_enc
4.2. refId: intval($j . $source_encrypt)
4.3. Example
4.3.1. routeId: UB14045791653
4.3.2. refId: 1404