UNPKG

@strapi/data-transfer

Version:

Data transfer capabilities for Strapi

14 lines 520 B
import { createCipheriv } from 'crypto'; import { Algorithm } from '../../types'; type Cipheriv = ReturnType<typeof createCipheriv>; /** * It creates a cipher instance used for encryption * * @param key - The encryption key * @param algorithm - The algorithm to use to create the Cipher * * @returns A {@link Cipheriv} instance created with the given key & algorithm */ export declare const createEncryptionCipher: (key: string, algorithm?: Algorithm) => Cipheriv; export {}; //# sourceMappingURL=encrypt.d.ts.map