From 0148147fc09e5f1f1ff66bc1c3e6003c71bd57e7 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Tue, 9 Sep 2025 18:52:51 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9A=97=E5=8F=B7=E5=8C=96=E3=82=B3=E3=83=9E?= =?UTF-8?q?=E3=83=B3=E3=83=89=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QRCode/サービス券暗号化.php | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 app/Console/Commands/QRCode/サービス券暗号化.php diff --git a/app/Console/Commands/QRCode/サービス券暗号化.php b/app/Console/Commands/QRCode/サービス券暗号化.php new file mode 100644 index 0000000..999b66a --- /dev/null +++ b/app/Console/Commands/QRCode/サービス券暗号化.php @@ -0,0 +1,63 @@ +argument("input"); + if (!$input) { + $this->outputError("入力エラー"); + return self::RESULTCODE_FAILED; + } + + $result = QRCryptoLogic::encrypt($input); + $this->outputInfo(sprintf("暗号化:[%s]->[%s]", $input, $result)); + + return self::RESULTCODE_SUCCESS; + } +}