use openssl to generate random strings