mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
20 lines
357 B
C++
20 lines
357 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace xlnt {
|
|
|
|
class sheet_protection
|
|
{
|
|
public:
|
|
static std::string hash_password(const std::string &password);
|
|
|
|
void set_password(const std::string &password);
|
|
std::string get_hashed_password() const { return hashed_password_; }
|
|
|
|
private:
|
|
std::string hashed_password_;
|
|
};
|
|
|
|
} // namespace xlnt
|