diff options
Diffstat (limited to 'IOFileClass/FileManIOFile.hpp')
| -rw-r--r-- | IOFileClass/FileManIOFile.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/IOFileClass/FileManIOFile.hpp b/IOFileClass/FileManIOFile.hpp index 4dfcfc4..fbed051 100644 --- a/IOFileClass/FileManIOFile.hpp +++ b/IOFileClass/FileManIOFile.hpp @@ -58,7 +58,7 @@ class FileManIOFile { * Save data to "filename" attribute. * */ - void write(std::string key, std::string data); + void write(std::string data,std::string key=NULL); /** * @brief True if file fully decrypted. @@ -87,6 +87,8 @@ class FileManIOFile { bool readable; ///< Readable attribute + byte key[32]; ///< Key in SHA-256 + |
