Re: Filling a device with random data
Arno Wagner <[email protected]>
| Newsgroups | dev.linux.lists.cryptsetup |
|---|---|
| Message-ID | <[email protected]> |
As I said, it is old. Old like some not having hardware support and /dev/urandom being dog-slow. Toaday, it is not really a problem doing this fast. Regards, Arno On Thu, Feb 09, 2023 at 20:03:52 CET, Eric Biggers wrote: > While this is a creative use of dm-crypt, a cleaner way to generate very > high throughput cryptographically secure random data (specifically, even > higher throughput than /dev/urandom which is usually good enough) is to > just generate it in userspace. For example, the command 'openssl rand > $LENGTH' does this. > > - Eric -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: [email protected] GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier