SHA1 encode

Calculates the SHA1 hash of a string (for example: "hello" - > "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d")