@openade/fe
Version:
Fatturazione Elettronica - Electronic Invoicing for Sistema di Interscambio (SDI)
9 lines • 434 B
TypeScript
export declare class EncryptionService {
encrypt(data: Buffer, key: string): Promise<Buffer>;
decrypt(encryptedData: Buffer, key: string): Promise<Buffer>;
generateKey(): Promise<string>;
hash(data: Buffer, algorithm?: 'sha256' | 'sha512'): Promise<string>;
hmac(data: Buffer, key: string, algorithm?: 'sha256' | 'sha512'): Promise<string>;
private deriveKey;
}
//# sourceMappingURL=encryption.service.d.ts.map