If I understand this correctly, I think the requirement is to convert a base64 encoded string to a hexadecimal string in blocks of 8 bytes (16 hexadecimal digits). If so, od -t x8 , after basic decoding you will like it most:
$ echo -n "7WkoOEfwfTTioxG6CatHBw ==" | base64 -d | od -t x8 | cut -s -d '' -f2-
347df047382869ed 0747ab09ba11a3e2
$
source share