The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

551838 (2) [Avatar] Offline
running this line of code:

head -c 32 /dev/urandom | tr '\n' = > key.bin

Gets me:

tr: Illegal byte sequence

Running = hexdump key.bin

Gets me : a small set of numbers not 18-19 sets like the demo
JJ Geewax (21) [Avatar] Offline
Hm, can you double check that the quotation marks are correct in your copy/pasting?

I just gave this another go and it worked fine for me:

$ cat /etc/issue
Debian GNU/Linux buster/sid \n \l
$ head -c 32 /dev/urandom | tr '\n' = > key.bin
$ hexdump key.bin
0000000 f90f f42e 2420 9305 46f0 cc51 b3e0 8727
0000010 b1d6 9db1 d4a6 d37d 34cc bae7 aa01 5438