Function: ntlm-string-xor

ntlm-string-xor is a byte-compiled function defined in ntlm.el.gz.

Signature

(ntlm-string-xor IN1 IN2 N)

Documentation

Return exclusive-or of sequences IN1 and IN2 of length N.

Source Code

;; Defined in /usr/src/emacs/lisp/net/ntlm.el.gz
(defsubst ntlm-string-xor (in1 in2 n)
  "Return exclusive-or of sequences IN1 and IN2 of length N."
  (let ((w (make-string n 0)) (i 0))
    (while (< i n)
      (aset w i (logxor (aref in1 i) (aref in2 i)))
      (setq i (1+ i)))
    w))