FizzyFlow / Flow

:ocean: The Flow. Smart money blockchain written in javascript
GNU Affero General Public License v3.0
2 stars 1 forks source link

Sign message packets with hash sum #7

Open jeka-kiselyov opened 7 years ago

jeka-kiselyov commented 7 years ago

There's space in message binary header to add some crypto. Check out lib/network/messages/Message.js -> toBinary()

We also need to check that hash sum in fromBinary() to be sure packet is not compromised.