@strapi/data-transfer
Version:
Data transfer capabilities for Strapi
14 lines • 530 B
TypeScript
import { createDecipheriv } from 'crypto';
import { Algorithm } from '../../types';
type Decipheriv = ReturnType<typeof createDecipheriv>;
/**
* It creates a cipher instance used for decryption
*
* @param key - The decryption key
* @param algorithm - The algorithm to use to create the Cipher
*
* @returns A {@link Decipheriv} instance created with the given key & algorithm
*/
export declare const createDecryptionCipher: (key: string, algorithm?: Algorithm) => Decipheriv;
export {};
//# sourceMappingURL=decrypt.d.ts.map