<<  >> (p.1537)
    Author Topic: [XMR] Monero - A secure, private, untraceable cryptocurrency  (Read 4674923 times)
    smooth
    Legendary
    *
    Offline Offline

    Activity: 2968
    Merit: 1203



    View Profile
    May 29, 2016, 09:16:51 PM
     #30721

    Help with explaining how this work?
    How to create the checksum index from a list of words; can explain it in non c++ terms?

    It takes the first N characters of each seed word interpreted using the UTF8 encoding (N=unique prefix length), combines them into one string, computes the crc_32 of the resulting string interpreted as a byte array, and then modulo (remainder) with the word list length.


    Can you explain further how the UTF8 encoding combines those first N characters into a string. Is there a specific way it does that?

    UTF-8 encoding is a way to represent characters that sometimes uses more than one byte per character. This code takes (up to) the first N characters regardless of how many bytes each character uses. Once those characters are pulled from the words they are combined using string concatenation into a single large string which is then used as a byte array to calculate a CRC32 checksum
Page 1536
Viewing Page: 1537