ecies: drop randomness parameter from `PrivateKey.Decrypt` (#16374)
The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in the ECIES encryption scheme is deterministic, so randomness isn't needed.
Showing
- crypto/ecies/ecies.go 3 additions, 3 deletionscrypto/ecies/ecies.go
- crypto/ecies/ecies_test.go 10 additions, 10 deletionscrypto/ecies/ecies_test.go
- p2p/rlpx.go 2 additions, 2 deletionsp2p/rlpx.go
- whisper/whisperv5/message.go 1 addition, 1 deletionwhisper/whisperv5/message.go
- whisper/whisperv6/message.go 1 addition, 1 deletionwhisper/whisperv6/message.go
Loading
Please register or sign in to comment