UNPKG

@n3okill/utils

Version:
9 lines (8 loc) 300 B
/** * Returns the XOR result of two strings. * If the two strings are of different lengths, the shorter one will be padded to the length of the longer one. * @param token1 * @param token2 * @return the XOR result */ export declare function xorTokens(token1: string, token2: string): string;