• This obfuscate function is used to generate a simple encrypted string from a text and secret. This is very simple so it can be used in frontend (e.g. URL obfuscating). This is not a real encryption as it uses the Vignere Cipher implementation.

    Parameters

    • input: string
    • key: string
    • encipher: boolean

    Returns string