From c8dc506b4bd014484acab198cb6ceedcf3840b00 Mon Sep 17 00:00:00 2001 From: baiy Date: Sun, 2 Jan 2022 18:54:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=A7=A3=E5=AF=86=20TripleDES=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/encrypt.vue | 157 ++++++++++++++++++++++--------------- 1 file changed, 92 insertions(+), 65 deletions(-) diff --git a/src/views/tool/encrypt.vue b/src/views/tool/encrypt.vue index f1cd657..e03dc88 100644 --- a/src/views/tool/encrypt.vue +++ b/src/views/tool/encrypt.vue @@ -1,14 +1,14 @@ \ No newline at end of file + resize(height) { + this.inputHeight = Math.min(160, Math.ceil(height / 2)) + this.outputHeight = height - this.inputHeight + } + }, + data() { + return { + current: { + input: "", + password: "", + sm2CipherMode: "C1C3C2", + output: "", + type: "AES", + operation: "" + }, + type: ["AES", "DES", "RC4", "Rabbit", "TripleDES", "SM2"], + inputHeight: 100, + outputHeight: 100 + } + }, +} + -- GitLab