I am trying to use Crypto.PubKey.ECIES library that call curveGenerateKeyPair
function from Crypto.ECC library and Crypto.ECC uses Crypto.PubKey.ECC.P256 for scalarGenerate
function, how can i modify this scalarGenerate
function without modifying all those libraries?, is there any other way to do this?
Basically, I want to modify scalarGenerate
function of Crypto.PubKey.ECC.P256 library (to use randomByteString generation of Raaz library),
so that will affect the output of deriveEncrypt
function from Crypto.PubKey.ECIES library
I'm using curve type as curve = Proxy :: Proxy Curve_X25519