Added openssl rand functions for random string generation