safelinkify
Version:
NodeJS anonymizer external links into outbound page. Anonymize external links to outbound page redirector for SEO.
24 lines (23 loc) • 862 B
TypeScript
import { Nullable } from './';
/**
* Encrypt function
* @param {string} passphrase password
* @param {string} plainText
* @see {@link https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html}
*/
declare function userJSEncrypt(passphrase: string, plainText: Nullable<string>, debug?: boolean): Nullable<string>;
/**
* Decrypt function
* @param {string} passphrase password
* @param {string} encryptedText
* @see {@link https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html}
*/
declare function userJSDecrypt(passphrase: string, encryptedText: Nullable<string>, debug?: boolean): Nullable<string>;
/**
* @see {@link https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html}
*/
declare const _default: {
encrypt: typeof userJSEncrypt;
decrypt: typeof userJSDecrypt;
};
export default _default;