vacp2p / nim-libp2p

libp2p implementation in Nim
https://vacp2p.github.io/nim-libp2p/docs/
MIT License
242 stars 52 forks source link

salt `idontwant` #1090

Closed arnetheduck closed 2 months ago

arnetheduck commented 2 months ago

Salting idontwant ensures the message id does not exceed reasonable length and prevents the hash table itself from being attacked while at the same time bounding memory consumption.