ms-types 0.3.28 → 0.3.29

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.3.28",
3
+ "version": "0.3.29",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -25,25 +25,25 @@ declare namespace cryptoUtils {
25
25
 
26
26
  /// 使用RSA公钥加密数据 默认使用PKCS1填充
27
27
  /// - Parameters:
28
- /// - rsaPublicKey: RSA公钥
29
28
  /// - data: 要加密的数据
29
+ /// - rsaPublicKey: RSA公钥
30
30
  /// - keySize: RSA密钥位数
31
31
  /// - Returns: 加密后的数据
32
32
  function encryptWithRSA(
33
- rsaPublicKey: string,
34
33
  data: string,
34
+ rsaPublicKey: string,
35
35
  keySize: number
36
36
  ): string;
37
37
 
38
38
  /// 使用RSA私钥解密数据 默认使用PKCS1填充
39
39
  /// - Parameters:
40
- /// - rsaPrivateKey: RSA私钥
41
40
  /// - data: 要解密的数据
41
+ /// - rsaPrivateKey: RSA私钥
42
42
  /// - keySize: RSA密钥位数
43
43
  /// - Returns: 解密后的数据
44
44
  function decryptWithRSA(
45
- rsaPrivateKey: string,
46
45
  data: string,
46
+ rsaPrivateKey: string,
47
47
  keySize: number
48
48
  ): string;
49
49