diff options
Diffstat (limited to 'src/cli/cc_enc.cpp')
-rw-r--r-- | src/cli/cc_enc.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cli/cc_enc.cpp b/src/cli/cc_enc.cpp index ec160c3ce..509b99601 100644 --- a/src/cli/cc_enc.cpp +++ b/src/cli/cc_enc.cpp @@ -119,6 +119,16 @@ class CC_Encrypt final : public Command public: CC_Encrypt() : Command("cc_encrypt CC passphrase --tweak=") {} + std::string group() const override + { + return "misc"; + } + + std::string description() const override + { + return "Encrypt the passed valid credit card number using FPE encryption"; + } + void go() override { const uint64_t cc_number = std::stoull(get_arg("CC")); @@ -144,6 +154,16 @@ class CC_Decrypt final : public Command public: CC_Decrypt() : Command("cc_decrypt CC passphrase --tweak=") {} + std::string group() const override + { + return "misc"; + } + + std::string description() const override + { + return "Decrypt the passed valid ciphertext credit card number using FPE decryption"; + } + void go() override { const uint64_t cc_number = std::stoull(get_arg("CC")); |