bitmaelum / bitmaelum-suite

BitMaelum software suite
https://bitmaelum.com
MIT License
61 stars 5 forks source link

Update “Dual-key” system #66

Open acalatrava opened 4 years ago

acalatrava commented 4 years ago

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.

jaytaph commented 3 years ago

Also add https://github.com/ethereum/go-ethereum/blob/28080463d2834dfc4e36061930ad721bf8a2482f/crypto/ecies/ecies.go#L232 so we can do ecdsa encryption as well