datasquirel/functions/encrypt.d.ts

15 lines
355 B
TypeScript
Raw Normal View History

2024-11-08 15:44:31 +00:00
export = encrypt;
/**
*
* @param {object} param0
* @param {string} param0.data
* @param {string} param0.encryptionKey
* @param {string} param0.encryptionSalt
* @returns {string | null}
*/
declare function encrypt({ data, encryptionKey, encryptionSalt }: {
data: string;
encryptionKey: string;
encryptionSalt: string;
}): string | null;