Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


asymmetric encryption

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Sep 11, 2010 12:22 pm    Post subject: asymmetric encryption Reply with quote

So asymmetric encryption means that you have different keys for encryption and decryption.

This means that you can send a public key to your friend who can use this key to crypt a message.

Then that friend can send that message back to you and you can decrypt it.

Becuase you are the only one who have the private key you are the only one who can decrypt it. (if no1 else have it and they dont)

Nice but how does it work.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Sat Sep 11, 2010 1:52 pm    Post subject: Reply with quote

Exactly as you described.
At first you create 2 keys, a public key and a private key
as you said the public is for encryption and the private for decryption,
you send the public key to whoever want to communicate with you, they then encrypt their message using the public key,
and send it to you.
When you get the message encrypted you and only you decrypt the message using the private key you created with the public key.
Remeber that there is only one private key that can decrypt a message that encrypted with the public key that created with that private key together.

_________________
Stylo
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Sat Sep 11, 2010 3:02 pm    Post subject: Reply with quote

But I meant how the algoritm work Smile
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Sun Sep 12, 2010 1:08 am    Post subject: Reply with quote

The most popular (RSA) uses modpow and depends on the difficulty in factoring large numbers. The others (discrete logs, elliptic curves, etc) use similar schemes - combinations of mathematical operations that are sufficiently difficult to brute-force to be considered one-way operations without a-priori knowledge of the private encryption key.

A formal understanding of the methods involved is kinda' difficult, requiring deep knowledge of discrete maths. Using the algorithms, however, is very simple. Back when Zimmerman was big news and export of encryption was a serious offense, lots of folks were writing very very very small implementations to use as e-mail signatures and tatoos and such (I've seen a three-line RSA implementation in Perl).

Here's a simple five-step process to generate keys, encrypt, and decrypt with RSA. If you Google you can find plenty more.

Cheers,
adude
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Sun Sep 12, 2010 6:28 pm    Post subject: Reply with quote

Algorithms are just based off of logic:
Example of an encryption.

Java, C#, VB6 Pseudo Code.
Function ASCIIEncryption(STRING Input, INTEGER+255 Key)
Variable Output = "";
For [I = 0, I <= Input.Length, I++]{
Output &="[" + (Input.getCharacter(I) * Key^2) + ", " + Input.getCharacter(I).isCapital + "]";
Println "Output: " + Output;
}


Encryption(wWxLIVE,63);

Output: [12033756,false] [12033756,true] [1713600,false] [1388016,true] [1311975,true] [1656956,true] [1406324,true]


@justa_dude - I'm pretty sure Albert Einstein can decrypt RSA.

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Sep 12, 2010 10:27 pm    Post subject: Reply with quote

Jorghi wrote:
@justa_dude - I'm pretty sure Albert Einstein can decrypt RSA.


Laughing

Einstein was a physicist, not a mathemagician.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Sep 12, 2010 11:39 pm    Post subject: Reply with quote

Flyte wrote:
Jorghi wrote:
@justa_dude - I'm pretty sure Albert Einstein can decrypt RSA.


Laughing

Einstein was a physicist, not a mathemagician.


“Do not worry about your difficulties in Mathematics. I can assure you mine are still greater.” -Albert Einstein

Disregarding the fact that Einstein was actually quite good at mathematics, and excelled at it at a young age

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Mon Sep 13, 2010 7:50 pm    Post subject: Reply with quote

RSA, like most asymmetric cryptosystems, works using the difficulty of semiprime factorization. A semiprime is any number that is created by multiplying two prime numbers together. Their special property is that their only factors are the two primes used to generate them.

For example, 39803 is a semiprime. Try to calculate the two primes I used to generate it. It's a lot more difficult for you to do that than it was for me to multiply 53 by 751. Now imagine the two primes I used were several hundred digits long - a computer would take forever to bruteforce such numbers.

Essentially RSA converts your plaintext into a number (text and numbers are just bytes when it comes to data) and uses the semiprime factorization problem to securely encrypt your data. It's more complex than a single multiplication, but it's not hugely difficult to understand. Take a look at the Wikipedia page for RSA for more information.

The math behind everything, as justa_dude pointed out, is not so simple. It requires a lot of understanding in the fields of number theorem, statistical analysis, discrete mathematics, etc. You can't just jump in and understand it all without a lot of supporting knowledge.

_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Tue Sep 14, 2010 8:05 am    Post subject: Reply with quote

Thanks everyone =)
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites