You can just work with language-independent solutions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // original xor_encrypt fonksiyonu | |
| function xor_encrypt($in) { | |
| $key = 'qw8J'; | |
| $text = $in; | |
| $outText = ''; | |
| // Iterate through each character | |
| for($i=0;$i<strlen($text);$i++) { | |
| $outText .= $text[$i] ^ $key[$i % strlen($key)]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // encrypted_secret XOR secret = key eşitliğine uyarlanmış xor_encrypt fonksiyonu | |
| function xor_encrypt($text) { | |
| $key = base64_decode('ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw='); //encrypted_secret | |
| $outText = ''; | |
| for($i=0;$i<strlen($text);$i++) { | |
| $outText .= $text[$i] ^ $key[$i % strlen($key)]; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # @author: Nur Temiz | |
| # Natas15 Solition | |
| import time | |
| import requests | |
| from requests.auth import HTTPBasicAuth | |
| from tqdm import tqdm | |
| print("\033[0;37;40m\nParolayı oluşturan karakterler tespit ediliyor...\033[1;m") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # @author: Nur Temiz | |
| # basic ann output calculate | |
| import math | |
| net = 0 | |
| result = 0 | |
| x = [0.5, 0.6, 0.2, 0.7] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # @author: Nur Temiz | |
| # Bubble sort (sıralama) algoritması | |
| # 1- Veri listesi üzerinde birbirini izleyen geçişleri uygula. | |
| # 2- Her geçiş esnasında birbirini izleyen iki liste elemanı arasında karşılaştırma işlemi yap ve gerekiyorsa yer değiştirme işlemini gerçekleştir. | |
| # 3- Bir geçiş esnasında hiçbir yer değiştirme olmuyorsa ya da n-1 geçiş tamamlanmışsa (veri miktarının n olduğu var sayımı ile) sıralama işlemini sona erdir. | |
| print("Sıralamak istediğiniz sayıları giriniz :" ) | |
| list = raw_input() |