Generate random patterns with openssl