Function: epg--decode-hexstring
epg--decode-hexstring is a byte-compiled function defined in
epg.el.gz.
This function is obsolete since 28.1; use rfc6068-unhexify-string
instead.
Signature
(epg--decode-hexstring STRING)
Source Code
;; Defined in /usr/src/emacs/lisp/epg.el.gz
(defun epg--decode-hexstring (string)
(declare (obsolete rfc6068-unhexify-string "28.1"))
(let ((index 0))
(while (eq index (string-match "[[:xdigit:]][[:xdigit:]]" string index))
(setq string (replace-match (string (string-to-number
(match-string 0 string) 16))
t t string)
index (1- (match-end 0))))
string))