|
|
|
|
|
by bogomipz
3113 days ago
|
|
>"What's the point of education article, if bad examples aren't clearly marked as bad?" The doc string for the hash function states: An INSECURE hash function that you should not use in the real world.
Returns an hexadecimal hash
I'm not sure how much clearer you could mark that.The point in the article seems to be understanding the blockchain protocol and concepts and not "how to write secure crypto." |
|
It's not about this warning. It's about that it's the only warning. From the intro and from discussion here on HN, I imply author knows about other shortcuts made for the sake of simplicity/explanation/readability - I just wished those shortcuts were pointed at more directly in the article, instead of blanket disclaimer.