codecrucible-synth
Version:
Production-Ready AI Development Platform with Multi-Voice Synthesis, Smithery MCP Integration, Enterprise Security, and Zero-Timeout Reliability
40 lines • 1.24 kB
TypeScript
export interface EncryptionConfig {
algorithm: string;
keyLength: number;
ivLength: number;
tagLength: number;
iterations: number;
}
export declare class SecurityUtils {
private static encryptionKey;
private static readonly config;
static initializeEncryption(masterKey?: string): void;
static isEncrypted(data: string): boolean;
static encrypt(data: string): string;
static decrypt(data: string): string;
/**
* Validate data integrity using HMAC
*/
static validateIntegrity(data: string, expectedHash: string): boolean;
/**
* Generate integrity hash for data
*/
static generateIntegrityHash(data: string): string;
/**
* Securely clear encryption key from memory
*/
static clearEncryptionKey(): void;
/**
* Generate cryptographically secure random string
*/
static generateSecureRandom(length?: number): string;
/**
* Hash password using bcrypt-like security
*/
static hashPassword(password: string, salt?: string): Promise<string>;
/**
* Verify password against hash
*/
static verifyPassword(password: string, hash: string): Promise<boolean>;
}
//# sourceMappingURL=security-utils.d.ts.map