UNPKG

did-sdk-js

Version:

js sdk for did and vc according to mcps did spec

11 lines (10 loc) 331 B
export declare enum EncryptLevel { EncryptLevel1 = 1, EncryptLevel2 = 2, EncryptLevel3 = 3 } export declare class Aes { static genRandomKey(level: EncryptLevel): string; static encrypt(plainText: string, secretKey: string): string; static decrypt(cipherText: string, secretKey: string): string; }