Generation

generate functionWed, 18 Jan 2023

Алгоритм шифрования штатной сигнализации форд фокус

char alfa[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}; char betta[] = {'y', 'r', 'e', 'q', 'a', 'b', 'c', 'd', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 's', 't', 'u', 'v', 'w', 'x', 'z'}; void encrypt(char* text) { for (int i = 0; i < strlen(text); i++) { for (int j = 0; j < 26; j++) { if (text[i] == alfa[j]) { text[i] = betta[j]; break;

Questions about programming?Chat with your personal AI assistant