Migrates ECKey to stricter API