Using the PySide GUI toolkit will make selecting, copying and pasting encrypted and decrypted text somewhat easier. Not ideal yet, but it will be a good start for those of you who are not very familiar with GUI programming.

Member Avatar
Member Avatar
+2 forum 1

In today's environment where just about anyone can snoop around your e-mail, it is prudent to securely encrypt your more private writings. This little Python program will make it easier to do so.

Member Avatar
Member Avatar
+4 forum 1

Hello All, I am very new to C programming but i was working on cryptography for ipsec and am trying to write a code for implementing a simple code for a stream cipher which will take a 20 charecter long string and a 8 bit seed file and encrypt the text by performing a bit by bit xor operation on the string by generating a random number with same length as text using the seed string. I know i made some big mistakes but i dont see any compilation errors but i get a runtime error and it just prints …

Member Avatar
Member Avatar
+0 forum 2

i was searching for a code to perform binary XOR addition. Exams coming up, and needed to a quick way to create and verify standard array tables. However, i didnt find anything substantial on the internet, so made my own version of it. can anyone take a look and tell me if there's some other(better) way to do this? thanks in advance for your time :) somjit. here's the code: #include<stdio.h> #include<string.h> int main(){ int *stop,decNum1=0,decNum2=0,result=0,ip_base=2,flag=0,i=0,binLength=0,temp=0,opResult[15]; char num1[15],num2[15]; puts("\n"); do{ printf("enter two binary numbers of same length(<15):\n"); printf(" enter 1st binary number: "); fgets(num1,15,stdin); binLength=strlen(num1); decNum1=strtol(num1,&stop,ip_base);// decNum1 is the dec …

Member Avatar
+0 forum 0

Ok this is somewhat of a second related post of my other one "C++ File". There is no need to read the other post just want to tell you. I want to make a console app that does the XOR thing I heard about using the simple ifstream and ofstream ( well simple compared to win programing). This isn't the first time Ive heard about it; I just can't find any hard/good documentation on it. Thanks in advance. Edit: I want to actualy save a file with this.

Member Avatar
Member Avatar
+0 forum 2

Hey guys, I'm making a small game on c++ using code::blocks.I use winbgi graphics for doing it. Its basically a ball game like dx-ball. I am an amateur programmer and I did upto making a moving ball which will rebounce whenever the boundaries of the screen are encountered.My method is to clear viewport each time the ball is printed so that the motion of the ball will be achieved . But I have been told that it is an inefficient method and there is another way by XORing the pixels to clear only parts of the screen instead of clearviewport() …

Member Avatar
Member Avatar
+0 forum 3

The following code swaps values between 2 variables without using a temp variable..... i want to know the logic behind this [CODE] //#include "stdafx.h" #include<stdio.h> int main(){ int a =3, b=5; a^=b^=a^=b; printf("%d" "\n" "%d",a,b); return 0; }[/CODE] [CODE]Output 5 3 [/CODE]

Member Avatar
Member Avatar
+0 forum 4

Hello Yesterday I downloaded this: [B][COLOR="Red"]Infected Executable File Removed[/COLOR].[/B] My Panda antivirus didn't see anything wrong with it, but it is some sort of spyware or trojan. Since I ran it last night, my IE opens up sometimes with an IQ test page '=) Today I ran a quick scan with Windows Defender and it found a Win32/Renos.MQ (more info here -> [url]http://www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?name=TrojanDownloader:Win32/Renos.MQ&threatid=152583[/url]) It gave me the option to remove it, so I did. It took several minutes... And, how lovely, while it was doing it, my antivirus said "Virus neutralized!" and when I checked it, [B][COLOR="Red"]xxxxxxxx[/COLOR][/B] which was INSIDE …

Member Avatar
Member Avatar
+0 forum 12

Hi guys.. I am currenly coding a program which outputs the next state table for flip flop circuits. I have already finished the the generator for one type of flip flop, and I have 3 more to go.. So far, my arithmetic parser is working good but I suddenly remembered that it is included in our specifications that the user could also input XOR operations, which my parser couldn't handle. So now, I am looking for existing codes in expanding XOR equations so that the expanded equation would just be the one to be substituted and processed by the parser. …

Member Avatar
+0 forum 0

The End.