UNPKG

@strapi/data-transfer

Version:

Data transfer capabilities for Strapi

13 lines 611 B
import type { createCipheriv, createDecipheriv } from 'crypto'; type Cipheriv = ReturnType<typeof createCipheriv>; type Decipheriv = ReturnType<typeof createDecipheriv>; export type EncryptionStrategy = (key: string) => Cipheriv | Decipheriv; export type Strategies = { 'aes-128-ecb': (key: string) => Cipheriv | Decipheriv; aes128: (key: string) => Cipheriv | Decipheriv; aes192: (key: string) => Cipheriv | Decipheriv; aes256: (key: string) => Cipheriv | Decipheriv; }; export type Algorithm = 'aes-128-ecb' | 'aes128' | 'aes192' | 'aes256'; export {}; //# sourceMappingURL=encryption.d.ts.map