This line is a little bit confusing. I would call the method `setRandomSeed` or something more indicative of what the method does, and there's no need to assign to ecies.r again (`setRandomSeed` does it).