Crypto hacks have been expensive but learning experiences, and regulators have moved in to make the industry more resilient to cyber attacks.