I took the index of your words, converted the range to binary, added 3 zeros, calculated the sha256 digest, took the first part of the hexadecimal to transform it to binary, added 3 zeros into the eight digits from the binary and bought 00000010011 which interprets to 19 in decimal. https://jsbin.com/jeyomidozi