# File lib/rex/encoding/xor/generic.rb, line 31 def Generic._check_encode(data, key, badchars) return Rex::Text.badchar_index(encode(data, key), badchars) end