add functions

* ngx.sha1(value)
* ngx.hmac_sha1_hex(secret_key, value)