Use the 'b64digest' function as opposed to simply 'digest'.

The digest is treated as a string, so this is nicer.