vue2-client 1.14.26 → 1.14.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- import EncryptUtil from '@vue2-client/utils/EncryptUtil'
2
- import { test, describe } from '@jest/globals'
3
-
4
- describe('请求加密模块', () => {
5
- const VALID_KEY = 'a964287a2cef8781ed76bd63dcadd578'
6
- const TEST_PAYLOAD = {
7
- username: 'admin',
8
- password: 'P@ssw0rd_测试',
9
- timestamp: Date.now()
10
- }
11
-
12
- // CBC加密测试
13
- test('应生成有效的加密字符串', () => {
14
- const encrypted = EncryptUtil.AESEncryptCBC(TEST_PAYLOAD, VALID_KEY)
15
- console.log(encrypted)
16
- })
17
- })
1
+ import EncryptUtil from '@vue2-client/utils/EncryptUtil'
2
+ import { test, describe } from '@jest/globals'
3
+
4
+ describe('请求加密模块', () => {
5
+ const VALID_KEY = 'a964287a2cef8781ed76bd63dcadd578'
6
+ const TEST_PAYLOAD = {
7
+ username: 'admin',
8
+ password: 'P@ssw0rd_测试',
9
+ timestamp: Date.now()
10
+ }
11
+
12
+ // CBC加密测试
13
+ test('应生成有效的加密字符串', () => {
14
+ const encrypted = EncryptUtil.AESEncryptCBC(TEST_PAYLOAD, VALID_KEY)
15
+ console.log(encrypted)
16
+ })
17
+ })
@@ -1,9 +0,0 @@
1
- ---
2
- description:
3
- globs:
4
- ---
5
-
6
- # Your rule content
7
-
8
- - You can @ files here
9
- - You can use markdown but dont have to