insert sha1 hashes into db