sm2 改进
This commit is contained in:
Vendored
+1
@@ -10,6 +10,7 @@ declare module 'sm-crypto' {
|
||||
doDecrypt: (ciphertext: string, privateKey: string) => string;
|
||||
doSignature: (message: string | Uint8Array, privateKey: string, options?: { hash?: boolean, der?: boolean, userId?: string, publicKey?: string, pointPool?: any[] }) => string;
|
||||
doVerifySignature: (message: string | Uint8Array, signature: string, publicKey: string, options?: { hash?: boolean, der?: boolean, userId?: string }) => boolean;
|
||||
getPublicKeyFromPrivateKey: (privateKey: string) => string;
|
||||
};
|
||||
|
||||
export const sm3: {
|
||||
|
||||
Reference in New Issue
Block a user