datasquirel/package-shared/functions/backend/encrypt.d.ts
2024-11-08 16:44:31 +01:00

10 lines
263 B
TypeScript

export = encrypt;
/**
* @async
* @param {string} data
* @param {string} [encryptionKey]
* @param {string} [encryptionSalt]
* @returns {string | null}
*/
declare function encrypt(data: string, encryptionKey?: string, encryptionSalt?: string): string | null;