Creates a SHA1 hash of data using either HMAC or RSA.
sha1_hash(key, string, method = "HMAC-SHA1")
The key to create the hash with
data to securely hash
The method to use, either HMAC-SHA1 or RSA-SHA1
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.