first pass after some work for some simple one way hashing algorithms