aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_bcrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_bcrypt.cpp')
-rw-r--r--src/modules/m_bcrypt.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_bcrypt.cpp b/src/modules/m_bcrypt.cpp
index c6eebbb96..c6615a728 100644
--- a/src/modules/m_bcrypt.cpp
+++ b/src/modules/m_bcrypt.cpp
@@ -28,7 +28,7 @@
class BCryptProvider final
: public HashProvider
{
- private:
+private:
std::string Salt()
{
char entropy[16];
@@ -42,7 +42,7 @@ class BCryptProvider final
return salt;
}
- public:
+public:
unsigned long rounds = 10;
std::string Generate(const std::string& data, const std::string& salt)
@@ -76,10 +76,10 @@ class BCryptProvider final
class ModuleBCrypt final
: public Module
{
- private:
+private:
BCryptProvider bcrypt;
- public:
+public:
ModuleBCrypt()
: Module(VF_VENDOR, "Allows other modules to generate bcrypt hashes.")
, bcrypt(this)