Remove dependency on crypto application

Use a simpler and faster method of obtaining a random pool from a
group. Method taken from pg2. This removes the dependency on the
crypto application