mirc_fish_10 icon indicating copy to clipboard operation
mirc_fish_10 copied to clipboard

DH1080_comp output not SHA256 hashed

Open maroonbells opened this issue 4 years ago • 2 comments

Change from $dll(fish_10.dll,DH1080_comp,privkey pubkey) to $dll(fish_10.dll,DH1080_comp,privkey pubkey [1]) where the 3rd parm ="1" returns mime(computed) instead of mime(sha256(computed))

maroonbells avatar Oct 16 '20 18:10 maroonbells

Why would this be required?

flakes avatar Oct 20 '20 17:10 flakes

It's not required but it's an improvement. It shortens the DH public and private mime strings by 1 byte by removing the meaningless "A" from the tail end. I've never seen anything else append the A like this, and the DLL already handles the keys perfectly fine without the A.

maroonbells avatar Oct 20 '20 18:10 maroonbells