From 60e2efe65fd5113952398ad3ed6b49a32a9ea5dd Mon Sep 17 00:00:00 2001 From: william Date: Wed, 25 Feb 2015 12:54:16 -0800 Subject: document des.string_to_key --- doc/luaossl.pdf | Bin 280959 -> 281822 bytes doc/luaossl.tex | 11 +++++++++++ 2 files changed, 11 insertions(+) diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf index e71002e..8078e4b 100644 Binary files a/doc/luaossl.pdf and b/doc/luaossl.pdf differ diff --git a/doc/luaossl.tex b/doc/luaossl.tex index d0bad06..239c98a 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex @@ -983,6 +983,17 @@ The routine operates internally on 64-bit unsigned integers.\footnote{Actually, \end{Module} +\begin{Module}{openssl.des} + +Binds OpenSSL's DES interfaces. These bindings are incomplete. No modern protocol would ever need to use these directly. However, legacy protocols like Windows NTLM authentication require some of these low-level interfaces. + +\subsubsection[\fn{des.string\_to\_key}]{\fn{des.string\_to\_key($password$)}} + +Converts an arbitrary length string, $password$, to a DES key. Returns an 8-byte string. + +\end{Module} + + \chapter{Examples} These examples and others are made available under examples/ in the source tree. -- cgit v1.2.3-59-g8ed1b