mirror of
https://github.com/zs-yg/kortapp-z.git
synced 2025-12-06 16:10:42 +08:00
提供更多文本转换模式
This commit is contained in:
13
others/C++/text converter/include/SHA224Converter.hpp
Normal file
13
others/C++/text converter/include/SHA224Converter.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef SHA224CONVERTER_HPP
|
||||
#define SHA224CONVERTER_HPP
|
||||
|
||||
#include "Converter.hpp"
|
||||
#include <string>
|
||||
|
||||
class SHA224Converter : public Converter {
|
||||
public:
|
||||
std::string convert(const std::string& input) override;
|
||||
std::string getName() const override { return "SHA224"; }
|
||||
};
|
||||
|
||||
#endif // SHA224CONVERTER_HPP
|
||||
13
others/C++/text converter/include/SHA384Converter.hpp
Normal file
13
others/C++/text converter/include/SHA384Converter.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef SHA384CONVERTER_HPP
|
||||
#define SHA384CONVERTER_HPP
|
||||
|
||||
#include "Converter.hpp"
|
||||
#include <string>
|
||||
|
||||
class SHA384Converter : public Converter {
|
||||
public:
|
||||
std::string convert(const std::string& input) override;
|
||||
std::string getName() const override { return "SHA384"; }
|
||||
};
|
||||
|
||||
#endif // SHA384CONVERTER_HPP
|
||||
13
others/C++/text converter/include/SHA3Converter.hpp
Normal file
13
others/C++/text converter/include/SHA3Converter.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef SHA3CONVERTER_HPP
|
||||
#define SHA3CONVERTER_HPP
|
||||
|
||||
#include "Converter.hpp"
|
||||
#include <string>
|
||||
|
||||
class SHA3Converter : public Converter {
|
||||
public:
|
||||
std::string convert(const std::string& input) override;
|
||||
std::string getName() const override { return "SHA3"; }
|
||||
};
|
||||
|
||||
#endif // SHA3CONVERTER_HPP
|
||||
13
others/C++/text converter/include/SHA512Converter.hpp
Normal file
13
others/C++/text converter/include/SHA512Converter.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef SHA512CONVERTER_HPP
|
||||
#define SHA512CONVERTER_HPP
|
||||
|
||||
#include "Converter.hpp"
|
||||
#include <string>
|
||||
|
||||
class SHA512Converter : public Converter {
|
||||
public:
|
||||
std::string convert(const std::string& input) override;
|
||||
std::string getName() const override { return "SHA512"; }
|
||||
};
|
||||
|
||||
#endif // SHA512CONVERTER_HPP
|
||||
@@ -5,6 +5,18 @@
|
||||
#include "Converter.hpp"
|
||||
#include "BinaryConverter.hpp"
|
||||
#include "HexConverter.hpp"
|
||||
#include "ROT13Converter.hpp"
|
||||
#include "MD5Converter.hpp"
|
||||
#include "SHA1Converter.hpp"
|
||||
#include "SHA256Converter.hpp"
|
||||
#include "SHA224Converter.hpp"
|
||||
#include "SHA384Converter.hpp"
|
||||
#include "SHA512Converter.hpp"
|
||||
#include "SHA3Converter.hpp"
|
||||
#include "Base64Converter.hpp"
|
||||
#include "Base32Converter.hpp"
|
||||
#include "Ascii85Converter.hpp"
|
||||
#include "CRC32Converter.hpp"
|
||||
|
||||
class Utils {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user