datasquirel/package-shared/functions/dsql/encrypt.d.ts
Benjamin Toby c49513c189 Updates
2024-12-06 11:44:26 +01:00

15 lines
361 B
TypeScript

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;