patch_solution.hpp 370 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "rsa_cipher.hpp"
  3. namespace nkg {
  4. class patch_solution {
  5. public:
  6. [[nodiscard]]
  7. virtual bool find_patch() = 0;
  8. [[nodiscard]]
  9. virtual bool check_rsa_privkey(const rsa_cipher& cipher) = 0;
  10. virtual void make_patch(const rsa_cipher& cipher) = 0;
  11. virtual ~patch_solution() = default;
  12. };
  13. }