(Thanks to @mah3mm for sparking curiosity then schooling me on this) This post will outline a common flaw in implementations of Merkle Trees, with demonstrations of potential attacks against the most popular python libraries. But first, a brief overview of what both a Merkle Tree and a Second Preimage attack are. Merkle Trees A Merkle Tree is a fairly simple data structure that allows chunks of da