hash: add sha1

Signed-off-by: Fedor Indutny <fedor@indutny.com>
0.3.0