allow to choose the "random source" when generating scoped keys