From 51d8a8a4ac6ef6096c393fd602df34c6bf8f6366 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 06 Apr 2009 20:27:39 +0000 Subject: better nonce generation and session credentials verification based on the patch from Chris Davies Signed-off-by: Michael Krelin --- (limited to 'src/eyetil.h') diff --git a/src/eyetil.h b/src/eyetil.h index 378f703..d946e71 100644 --- a/src/eyetil.h +++ b/src/eyetil.h @@ -15,6 +15,7 @@ class binary_t : public std::vector { binary_t& from_hex(const std::string& h); binary_t& from_data(const void *d,size_t s); + binary_t& make_nonce(); std::string hex() const; binary_t md5() const; -- cgit v0.9.0.2