(code_str)
| 29 | |
| 30 | |
| 31 | def encrypt_code(code_str): |
| 32 | encrypted_arr = [] |
| 33 | for i in range(len(code_str)): |
| 34 | encrypted_char = hex( |
| 35 | ord(code_str[i]) ^ ord( |
| 36 | encrypt_lookup_table[i % len(encrypt_lookup_table)])) |
| 37 | encrypted_arr.append(encrypted_char) |
| 38 | return encrypted_arr |
| 39 | |
| 40 | |
| 41 | def create_output_dir(dir_path): |
no outgoing calls
no test coverage detected