ECPair: use ECPair.curve internally
ECPair: move rng to optional params object