sha1_hash function

SHA1 hash

SHA1 hash

Creates a SHA1 hash of data using either HMAC or RSA.

sha1_hash(key, string, method = "HMAC-SHA1")

Arguments

  • key: The key to create the hash with
  • string: data to securely hash
  • method: The method to use, either HMAC-SHA1 or RSA-SHA1
  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2023-08-15