datasquirel/package-shared/functions/dsql/encrypt.d.ts

15 lines
361 B
TypeScript
Raw Normal View History

2024-12-06 10:44:26 +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;