Hashing needs byte strings in python3 (#17221)
Hashing needs byte strings in python3 (#17221)

First try at porting this passed in string-types as that worked on
python2.  Python3 is more strict so be explicit about converting from
text to bytes
thaim/ansible,thaim/ansible