SHA Messing around

01100101001100110110001000110000011000110011010000110100001100100011100100111000011001100110001100110001011000110011000100110100001110010110000101100110011000100110011000110100011000110011100000111001001110010011011001100110011000100011100100110010001101000011001000110111011000010110010100110100001100010110010100110100001101100011010000111001011000100011100100110011001101000110001101100001001101000011100100110101001110010011100100110001011000100011011100111000001101010011001001100010001110000011010100110101

echo -n “” | sha256sum -b | awk {‘printf $1’} | xxd -b -c 1  | awk {‘print $2’} | paste -sd “” 

echo -n “” |
echo blank with no line feed ‘-n’ pipe out

sha256sum -b |
generate sha in binary ‘-b’ then pipe out

awk {‘printf $1’} |
awk $1 and printf to supress new LF then pipe out

xxd -b -c 4
xxd to turn into nice output

00000000: 01100101 00110011 01100010 00110000 e3b0
00000004: 01100011 00110100 00110100 00110010 c442
00000008: 00111001 00111000 01100110 01100011 98fc
0000000c: 00110001 01100011 00110001 00110100 1c14
00000010: 00111001 01100001 01100110 01100010 9afb
00000014: 01100110 00110100 01100011 00111000 f4c8
00000018: 00111001 00111001 00110110 01100110 996f
0000001c: 01100010 00111001 00110010 00110100 b924
00000020: 00110010 00110111 01100001 01100101 27ae
00000024: 00110100 00110001 01100101 00110100 41e4
00000028: 00110110 00110100 00111001 01100010 649b
0000002c: 00111001 00110011 00110100 01100011 934c
00000030: 01100001 00110100 00111001 00110101 a495
00000034: 00111001 00111001 00110001 01100010 991b
00000038: 00110111 00111000 00110101 00110010 7852
0000003c: 01100010 00111000 00110101 00110101 b855