...
for o := range objects {
// Using the given key, max number (F) and object bytes (o),
// convert the object to a number between 0 and F.
v := convertToNumber(b, F, key)
numbers = append(numbers, v)
}
// 给 numbers 列表排序
sort.Slice(numbers, func(i, j int) bo...
...
```
运行下一个代码块测试你的代码
```
# Checks that g and G are correct.
assert g.is_order(1024), 'The generator g is of wrong order.'
b = FieldElement(1)
for i in range(1023):
assert b == G[i], 'The i-th place in G is not equal to the i-th power of g.'
b = b * g
...
...les/145568296316.htm)
1. Vitalik. Deterministic Wallets, Their Advantages And Their Understated Flaws. [https://bitcoinmagazine.com/articles/deterministic-wallets-advantages-flaw-1385450276](https://bitcoinmagazine.com/articles/deterministic-wallets-advantages-flaw-1385450276)
1. 千里之堤毁...