That could work/be better but I figured on some weird case somehow an extra space got in there or something...  Definitely could be changed or even use a completely different parameter. I just fitgured since we were already passing a string in as 'sha1' it would be easy to just re-use that.