From 3d5aab34c469617f8e96bf71bde0f362d33350fb Mon Sep 17 00:00:00 2001 From: yuanyuhang Date: Fri, 9 Dec 2022 02:06:20 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20a311209=20from=20https://gitee.com/yuan?= =?UTF-8?q?yuhang1/xts=5Facts/pulls/6882=20Cipher=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuanyuhang --- .../src/main/js/test/Agree/cipher1.test.js | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/security/cipher/datacipher/cipher/src/main/js/test/Agree/cipher1.test.js b/security/cipher/datacipher/cipher/src/main/js/test/Agree/cipher1.test.js index 34a4d29d1..a0c26b68b 100644 --- a/security/cipher/datacipher/cipher/src/main/js/test/Agree/cipher1.test.js +++ b/security/cipher/datacipher/cipher/src/main/js/test/Agree/cipher1.test.js @@ -405,33 +405,4 @@ describe('cipher1_test', function () { } }); }); - - /** - * @tc.number SUB_SEC_DataPro_cipher_2300 - * @tc.name Pressure test on the RSA algorithm encryption and decryption interface - * @tc.desc [C-SECURITY-1800] - */ - it('SUB_SEC_DataPro_cipher_2300', 3, function () { - cipher.aes({ - action: 'decrypt', - text: cipherTextAes, - key: aesKey, - transformation: 'AES', - iv: 'MTIzNDU2Nzg5MDEyMzQ1Ng==', - ivOffset: 0, - ivLen: 16, - success: data => { - console.log(`cipher.aes decrypt success: ${data.text}`); - expect(cipherResultFail).toBeTrue(); - }, - fail: (data,code) => { - this.err = `${code}: ${data}`; - console.log(`transformation is invalid, cipher.aes decrypt fail: ${code}: ${data}`); - expect(cipherResult).toBeTrue(); - }, - complete: () => { - console.log(`Aes encrypt end...`); - } - }); - }); });} -- GitLab