Obfuscating

public protocol Obfuscating

Undocumented

  • This method used to obfuscate the key to byte array

    Declaration

    Swift

    func obfuscate(_ string: String) -> [UInt8]

    Parameters

    key

    the key to obfuscate

    Return Value

    the obfuscated data in a byte array

  • This method used to deobfuscate the obfuscated byte array

    Declaration

    Swift

    func deobfuscate(_ bytes: [UInt8]) -> String

    Parameters

    encodedKey

    the byte array to reveal

    Return Value

    the original string