lycheex-client
Version:
System configuration and device management utilities - License 3.0 compatible
20 lines • 467 B
TypeScript
/**
* AES加密解密工具类
*/
export declare class CryptoUtils {
private static readonly ALGORITHM;
private static readonly KEY_LENGTH;
/**
* AES加密
*/
static encrypt(text: string, key: string): string;
/**
* AES解密
*/
static decrypt(encryptedText: string, key: string): string;
/**
* 验证密钥格式
*/
static validateKey(key: string): boolean;
}
//# sourceMappingURL=device-utils.d.ts.map