bitmaelum-suite
bitmaelum-suite copied to clipboard
Update “Dual-key” system
Since the bmcrypto dual key exchange we use is actually an Integrated Encryption Scheme (https://en.wikipedia.org/wiki/Integrated_Encryption_Scheme) we should change the name and probably change the KDF algorithm so we don’t use a legacy method as we use now.
Also add https://github.com/ethereum/go-ethereum/blob/28080463d2834dfc4e36061930ad721bf8a2482f/crypto/ecies/ecies.go#L232 so we can do ecdsa encryption as well