UNPKG

@experteam-mx/ngx-services

Version:

Angular common services for Experteam apps

16 lines (15 loc) 584 B
import { Environment } from '../ngx-services.models'; import * as i0 from "@angular/core"; export declare class CryptoService { private environments; constructor(environments: Environment); encryptAES(plaintext: string): Promise<string>; decryptAES(payload: string): Promise<string>; private loadKey; private uint8ArrayToBase64; private base64ToUint8Array; private arrayBufferToBase64; private base64ToArrayBuffer; static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CryptoService>; }