Nmap Development mailing list archives
Re: [NSE][PATCH] OpenSSL bindings for NSE
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Thu, 4 Sep 2008 15:48:03 -0600
On Thu, Sep 4, 2008 at 2:58 PM, Sven Klemm <sven () c3d2 de> wrote:
Adding furthing functions is trivial. I am not yet sure about the best interface for the hashing functions though. These are the possibilities I see: - - add two functions for each algorithm one producing binary data the other producing a hexencoded string - - add a flag to the function signature controlling whether binary data or a hexencoded string should be returned - - only create functions producing binary data and do the conversion with bin.unpack - - only create functions producing binary data and add a to_hex function to the lua string class
I just want to caution that there are many existing libraries for Lua, especially for OpenSSL (e.g. http://luacrypto.luaforge.net/). Careful not to reinvent any wheels :) Cheers, -- -Patrick Donnelly "One of the lessons of history is that nothing is often a good thing to do and always a clever thing to say." -Will Durant _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: [NSE][PATCH] OpenSSL bindings for NSE, (continued)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Patrick Donnelly (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Patrick Donnelly (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 03)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Fyodor (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Patrick Donnelly (Sep 04)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Sven Klemm (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Ron (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Ron (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE David Fifield (Sep 22)
- Re: [NSE][PATCH] OpenSSL bindings for NSE Fyodor (Sep 23)
