Upgrading the random string generation to something more secure.