On 1/27/19 7:34 AM, sixpack13 wrote:
from a german IT magazine I got this:
https://www.heise.de/select/ct/2016/03/1454233793502849#titel_14542337935...
openssl enc -aes-256-ctr -pass pass: "$(dd if=/dev/urandom bs=128 count=1
2>/dev/null | base64)" -nosalt < /dev/zero > /dev/sdX
I've never tested it, so I don't know if it works !
For non-german's the article sense in short:
- dd if=/dev/urandom of=/dev/sdX would need several days for 3 TB disk > - the bottle
leck is /dev/urandom cause it generates 15 MB/s only
This is repeating really old information. On my not new laptop
/dev/urandom can provide over 250MB/s. And I was surprised that the
openssl command is faster, but still urandom is faster than you can
write to the disk anyway.
Btw, there is an error in that openssl command. There should be no
space after "pass:".