RSSAmplifier

Nick's Blog and Digital Garden · Nov 16, 2024

Generating random data with OpenSSL

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Generating random data with OpenSSL One way to produce lots of seemingly random, hard to compress data is to leverage AES encryption through OpenSSL. This can be faster than just reading data from /dev/urandom as modern CPUs typically have dedicated AES instruction sets which openssl can leverage.
For OpenSSL 1.1 onwards, using current epoch as the seed:
openssl enc -aes-256-ctr -pbkdf2…

Read on nick.groenen.me

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.