lock down secure-random version