How change hash type of peerid ? e.g. to sha3-512 or blake2b-512?


I want change the default hash type (sha1 or sha2-256) of peerid to blake2s-512, some one can
help me com this issue ? :slight_smile: any hint is Welcome!

Very Very Very Thanks in Advance!

's Dani.

The current peer ID is the SHA-256 multihash of a peer’s public key. I don’t know of any existing options to change the hashing algorithm used for the multihash, so it might be something that would require a code update if you require another hashing algorithm for some reason.