Hello There, Guest!
View New Posts  |  View Today's Posts
PGP encryption

  • 0 Vote(s) - 0 Average


01-05-2014, 07:16 PM #1
Crystalii
Senior Member
***
Posts: 341 Threads:43 Joined: Aug 2012 Reputation: 4

PGP encryption
Hello!

Does anyone here have any experience of PGP encryption? You can basically encrypt emails, and thus have an encrypted communication.

I need some help to get started..

01-06-2014, 12:57 AM #2
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: PGP encryption
I don't have any experience with it. Here is an example library in C# that is said to go by the OpenPGP standard ( http://www.codeproject.com/Articles/4284...nPGP-for-C ).

OpenPGP - http://www.openpgp.org/

01-06-2014, 04:05 AM #3
xyv123
Member
**
Posts: 61 Threads:11 Joined: Jan 2013 Reputation: 4

RE: PGP encryption
You might find this article (in four parts) useful:
http://www.tutonics.com/2012/11/gpg-encr...art-1.html
Also this one looks ok:
http://futureboy.us/pgp.html
This post was last modified: 01-06-2014, 04:11 AM by xyv123.

01-06-2014, 11:35 AM #4
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: PGP encryption
Nice links! I should have looked and noted that this was in the hardware section and not the programming section. Haha, my mind just assumes programming anymore these days.

01-06-2014, 07:26 PM #5
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: PGP encryption
I assumed programming as well.... Just goes to show where the usual activity is around here. We need to beef up these other forums!

If you want to learn more about it though, I think the last Reboot CTF had some PGP challenges... ? Unsure


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

02-23-2014, 10:21 PM #6
Crystalii
Senior Member
***
Posts: 341 Threads:43 Joined: Aug 2012 Reputation: 4

RE: PGP encryption
Hello!

I have learned how PGP encryption works. It is very easy, and you can communicate online 100 % safely, without having to worry about NSA or i.e police ever being able to read your message.

With the help of a software called GPA, you can encrypt any message or email with a pgp key. Now everyone has two keys, one private key and a public key. The private key is your own private key, you should store it in a safe place, usually a flash drive which you will defend with your life. Then you got a public key, which you will share with everyone.

Now say I want to send an encrypted message to KoBe, I will write my message and then encrypt it with KoBe's public key. Then I will get a PGP message, it looks like this:

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.22 (MingW32)

hQEMA20n5ueSEpyrAQf/Yie/D/Id05TBX4X9Sv25a4Bn2U28ffYAfyzwbH4eM68x
h4jmf6DiigvuvXDzUcR1IhlzB6WEmzNsOCADzqgixdyNwl4d08W4xNYqbSc07/rl
CEmF18BLDxcqkNvGmeLfHfcZoNCwYO/P9BPlzt2xzCq6taku9byqwg0hycT2ASA7
nZSh9Hjnf4AueN6zYYfst9s+ijEb+W6/uV4Z4/xpMDPbJEVxowUvRtYFwsuj8Nod
DisAx6/cEOWjEz2ixuqUjhP0vNWnsKyflJCOrmhsGL/kT9ceOxa3bLz20MsLg/lm
IKqResmiAgAR0U94hAExhYNrd5aeYR3VEVDtfOv5INJEASDZxtNBva1QvEsgRmnK
BuWsNlIkOB14g7E00ZPN4XrN3qF7iU2budnb+IH9s+cqIymj8IPVBpcx6vkYyI+l
oSfhRtc=
=W/0E
-----END PGP MESSAGE-----

I will then send this message to KoBe, doesn't matter how I send it because the message is safe, even if I send it via regular email. He receives it, and the message is encrypted with his public key. Now the only way to decrypt this message is with KoBe's private key, which he stored in his private secret flash drive. So he decrypts the message in the same software, GPA using his private key, and he can then read my message.

So the only way to read that message is to decrypt it, and it can only be decrypted with KoBe's private key, which only he has access too. When he wants to return my message, he will use my public key to encrypt his message, then only I can decrypt it again using my private key.

The only problem is if your private key gets comprimised, so thats why it is important to protect your private key.




Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
  How does a 128-bit encryption work for non wireless? php111 6 4,200 02-09-2012, 04:17 AM
Last Post: AceInfinity


Users browsing this thread: 1 Guest(s)