(#103) - use same md5 function as PouchDB