/** * @author Thomas Champagne * @description Simple symmetric XOR encryption module * @see https://en.wikipedia.org/wiki/XOR_cipher */ declare class CryptoXor { /** * Encrypt XOR method * @param plainString Plain text data to be encoded * @param key Crypt key used to XOR plainString * @returns Cypher text */ static encrypt(plainString: string, key: string): string; /** * Decrypt XOR method * @param cypherString Cypher string to be decoded * @param key Crypt key used to XOR cypherString * @returns Plain text */ static decrypt(cypherString: string, key: string): string; } export { CryptoXor };