add sha1, rename enum