From eaeb76af80b647d45009ff8e35062d2651f9c01f Mon Sep 17 00:00:00 2001 From: Peter Cai <222655+pcai@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:18:22 +0000 Subject: [PATCH] comments --- lib/net/ntlm.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/net/ntlm.rb b/lib/net/ntlm.rb index e690f3a..3307783 100644 --- a/lib/net/ntlm.rb +++ b/lib/net/ntlm.rb @@ -111,7 +111,8 @@ def split7(str) ret end - # Not sure what this is doing + # Each byte of a DES key contains seven bits of key material and one odd-parity bit. + # The parity bit should be set so that there are an odd number of 1 bits in each byte. # @param [String] str String to generate keys for # @api private def gen_keys(str)