Skip to content

Commit

Permalink
Merge pull request #2 from cniles/master
Browse files Browse the repository at this point in the history
Linter fixes & add missing require
  • Loading branch information
grimnebulin authored Oct 4, 2020
2 parents 30132cd + 6986ac2 commit f2b99a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hmac.el
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
;;; hmac.el --- hash-based message authentication code
;;; hmac.el --- Hash-based message authentication code

;;; Version: 1.0
;;; Author: Sean McAfee
;;; Url: https://github.com/grimnebulin/emacs-hmac
;;; Package-Requires: ((cl-lib "0.5") (emacs "25"))
;;; Package-Requires: ((emacs "25.1"))

;; Copyright 2018 Sean McAfee

Expand All @@ -28,6 +28,7 @@
;;; hash-based message authentication code.

(require 'cl-lib)
(require 'subr-x)

;;; Code:

Expand All @@ -41,8 +42,7 @@
"Mapping from HMAC algorithm to the algorithm's blocksize.")

(defun hmac (algorithm key message &optional binary)
"Compute the HMAC for a given message, using a given private key and
algorithm.
"Compute the HMAC for a given message, private key and algorithm.
ALGORITHM is a symbol naming one of the algorithms recognized by
`secure-hash'. KEY is a the private key to use. MESSAGE, a
Expand Down

0 comments on commit f2b99a9

Please sign in to comment.