(with-open-stream (s (open "/dev/urandom"
:direction :input
:element-type '(unsigned-byte 8)))
(let* ((n 90)
(x (make-array n :element-type '(unsigned-byte 8))))
(read-sequence x s)
(loop for byte across x
for i upfrom 0
if (zerop (mod i 6))
do (fresh-line)
else
do (princ #\Space)
do (format t "~8,'0B" byte)
finally (terpri))))
KHdpdGgtb3Blbi1zdHJlYW0gKHMgKG9wZW4gIi9kZXYvdXJhbmRvbSIKICAgICAgICAgICAgICAgICAgICAgICAgICAgOmRpcmVjdGlvbiA6aW5wdXQKICAgICAgICAgICAgICAgICAgICAgICAgICAgOmVsZW1lbnQtdHlwZSAnKHVuc2lnbmVkLWJ5dGUgOCkpKQogIChsZXQqICgobiA5MCkKICAgICAgICAgKHggKG1ha2UtYXJyYXkgbiA6ZWxlbWVudC10eXBlICcodW5zaWduZWQtYnl0ZSA4KSkpKQogICAgKHJlYWQtc2VxdWVuY2UgeCBzKQogICAgKGxvb3AgZm9yIGJ5dGUgYWNyb3NzIHgKICAgICAgICAgIGZvciBpIHVwZnJvbSAwCiAgICAgICAgICBpZiAoemVyb3AgKG1vZCBpIDYpKQogICAgICAgICAgICBkbyAoZnJlc2gtbGluZSkKICAgICAgICAgIGVsc2UKICAgICAgICAgICAgZG8gKHByaW5jICNcU3BhY2UpCiAgICAgICAgICBkbyAoZm9ybWF0IHQgIn44LCcwQiIgYnl0ZSkKICAgICAgICAgIGZpbmFsbHkgKHRlcnByaSkpKSkK