js实现非对称加密
This commit is contained in:
@@ -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