js实现非对称加密
This commit is contained in:
1 parent
52515fb631
commit
130e9c35a4
1 file changed
+2
-2
@@ -85,8 +85,8 @@ interface JsEncodeUtils {
|
||||
): AsymmetricCrypto {
|
||||
return createAsymmetricCrypto(
|
||||
algorithm,
|
||||
privateKey.encodeToByteArray(),
|
||||
publicKey.encodeToByteArray()
|
||||
privateKey?.encodeToByteArray(),
|
||||
publicKey?.encodeToByteArray()
|
||||
)
|
||||
}
|
||||
//******************对称加密解密old************************//
|
||||
|
||||
Reference in new issue
Block a user