mirror of
https://github.com/vgough/encfs.git
synced 2025-08-15 00:12:33 +02:00
encapsulate old cipher support layer
git-svn-id: http://encfs.googlecode.com/svn/trunk@95 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
@ -30,6 +30,13 @@ namespace encfs {
|
||||
|
||||
std::string stringToHex(const byte *data, int len);
|
||||
|
||||
template <typename T>
|
||||
std::string stringToHex(const T& value) {
|
||||
return stringToHex(value.data(), value.size());
|
||||
}
|
||||
|
||||
void setDataFromHex(byte *out, int size, const char *hex);
|
||||
|
||||
} // namespace encfs
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user