Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Coding Releases
You last visited: Today at 20:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release][C++] XOR Encrypt - Decrypt Tool | Source

Discussion on [Release][C++] XOR Encrypt - Decrypt Tool | Source within the Coding Releases forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
Conrew's Avatar
 
elite*gold: 124
Join Date: Feb 2012
Posts: 302
Received Thanks: 135
Arrow [Release][C++] XOR Encrypt - Decrypt Tool | Source

Hi,

First of all : Sorry for my bad English

Once that done i proudly present you my XOR Encrypt - Decrypt Tool .
Its only a small Programm but it can be very usefull for Crypted Packets etc.
Now we go to the Main Theme (Back to Topic )

XOR Encrypt - Decrypt Tool

Screens:

Encrypt:


Decrypt:


Source(with some lines of Code no one needs :P ):

I hope you like it See you , your Conrew PS: A Thanks would be nice
Conrew is offline  
Thanks
3 Users
Old 03/29/2013, 01:23   #2
 
.Stefan's Avatar
 
elite*gold: 12
Join Date: Jun 2009
Posts: 2,620
Received Thanks: 1,239
Yeah nice **** man
.Stefan is offline  
Old 04/01/2013, 13:05   #3
 
Conrew's Avatar
 
elite*gold: 124
Join Date: Feb 2012
Posts: 302
Received Thanks: 135
Thanks
Conrew is offline  
Old 04/01/2013, 13:16   #4
 
.SkyneT.'s Avatar
 
elite*gold: 273
Join Date: Sep 2010
Posts: 1,831
Received Thanks: 786
.SkyneT. is offline  
Old 04/01/2013, 14:25   #5
 
marykillsjane's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 1,909
Received Thanks: 522
Nice aber mal eine Frage wie genau macht man ein solches Verschlüsselungsverfahren? Einfach indem man für jedes ASCII Zeichen wie z.B. a ein anderes Zeichen anlegen und die beim Verschlüsseln dann einfach vertauscht ,oder wie funktioniert ein richtiges Veschlüsselungsverfahren?^^
marykillsjane is offline  
Old 04/01/2013, 14:43   #6
 
.SkyneT.'s Avatar
 
elite*gold: 273
Join Date: Sep 2010
Posts: 1,831
Received Thanks: 786
Quote:
Originally Posted by marykillsjane View Post
Nice aber mal eine Frage wie genau macht man ein solches Verschlüsselungsverfahren? Einfach indem man für jedes ASCII Zeichen wie z.B. a ein anderes Zeichen anlegen und die beim Verschlüsseln dann einfach vertauscht ,oder wie funktioniert ein richtiges Veschlüsselungsverfahren?^^
Quote:
en_data[i] = de_data[i] ^ xorkey;
Wie du siehst wird einfach jedes Zeichen einzeln mit xor verschlüsselt.

Ein "richtiges" Verschlüsselungsverfahren ist weitaus komplizierter...
.SkyneT. is offline  
Thanks
1 User
Old 04/01/2013, 14:50   #7
 
Schlüsselbein's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 1,137
Received Thanks: 869
Hier mal was mir auffällt:
Die Eingabe kannst du direkt beim Einlesen auf korrektheit des Typs prüfen:
Code:
if(std::cin >> choice){...}
Lass das rumgespiele an der Konsole in den Funktionen selber. Benutze Parameter etc.

Schau dir std::transform an, das vereinfacht vieles.
Code:
#include <iostream>
#include <algorithm>
#include <string>

int main()
{
	std::string s = "www.elitepvpers.com";
	const char xor = 'a';

	std::transform(s.begin(), s.end(), s.begin(), [xor](char c) { return c ^ xor; });
	std::cout << s << std::endl;
}
Schlüsselbein is offline  
Thanks
1 User
Old 04/03/2013, 00:36   #8
 
Conrew's Avatar
 
elite*gold: 124
Join Date: Feb 2012
Posts: 302
Received Thanks: 135
Quote:
Originally Posted by Schlüsselbein View Post
Hier mal was mir auffällt:
Die Eingabe kannst du direkt beim Einlesen auf korrektheit des Typs prüfen:
Code:
if(std::cin >> choice){...}
Lass das rumgespiele an der Konsole in den Funktionen selber. Benutze Parameter etc.

Schau dir std::transform an, das vereinfacht vieles.
Code:
#include <iostream>
#include <algorithm>
#include <string>

int main()
{
	std::string s = "www.elitepvpers.com";
	const char xor = 'a';

	std::transform(s.begin(), s.end(), s.begin(), [xor](char c) { return c ^ xor; });
	std::cout << s << std::endl;
}
Ok, ich werde es mir mal anschauen Danke schonmal
Conrew is offline  
Closed Thread


Similar Threads Similar Threads
NOS Encrypt Decrypt
09/08/2011 - Nostale - 3 Replies
Hello all, excuse me but I don't speak german. I'd like to exchange knowledge about NOS with talented / experienced users. Just to say, I realized a program that: ) log decrypted nos net packets ) allow to send packets to client /server ) auto bruteforce packets key
C++ Text Decrypt Function + Programm Encrypt to Decrypt
07/09/2011 - WarRock Hacks, Bots, Cheats & Exploits - 19 Replies
http://desmond.imageshack.us/Himg233/scaled.php?se rver=233&filename=icevisionzxencrypttodec.png& amp;res=medium Download: uploaded.to - where your files have to be uploaded to Virustotal: VirusTotal - Free Online Virus, Malware and URL Scanner Function C++: char* encrypt(const char* plaintext) {
[Verkaufe]Encrypt & Decrypt Source.
03/09/2011 - Flyff Private Server - 2 Replies
So, da ich langsam iwie keine lust mehr auf Flyff habe, habe ich mich entschieden meine Encryption sachen was Packets und so betrifft einfach verkaufen. Folgendes könnt ihr frei wählen wie ihr wollt: - Preis (was seit ihr bereit zu zahlen) - Cryption Code, maximale länge setzt ich auf 33 Stellen - Mit oder ohne Update (Wird noch ausgearbeitet) Folgende vorteile hat Cryption:
C++ RC5 Decrypt/Encrypt
02/10/2011 - CO2 Private Server - 2 Replies
Greetings guys, i was working on my own server and am coding it in c++, i heared i must decrypt the msg from the client so i can check if the user is exist or not (geting server name,account id and password) for patch 5290 or more so i was wondering if someone can help me and correct what am doing wrong here is my code hopefully someone can help me RC5.h #ifndef RC5_H #define RC5_H
Encrypt/Decrypt
09/01/2010 - EO PServer Hosting - 9 Replies
Who can tell me how can i decrypt a password mage by the register page?:D



All times are GMT +2. The time now is 20:26.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.