22858 total geeks with 3297 solutions
Recent challengers:
best bread maker
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
sefo
anilg, new comments are deleted automaticall y because of some abuse recently
anilg
this is plain wierd. I submitted comments twice to article 950, and they dont seem to be there. Something wrong with the comment code?
CodeX
shout-boxes in general are old + the staff thing happened to everyone after an issue 2 months ago
anilg
/me is no longer staff :(
anilg
Also, osix's shoutbox predated twitter. Heh.

Donate
Donate and help us fund new challenges
Donate!
Due Date: Jul 31
July Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
UK.gov sticks to IE
6 cos it"s more
"cost effective",
innit
T-Mobile UK pumps
out the iPhone 4
Polaroid 300
instant print
camera
NatWest dumps O2
Money
YouTube ups video
time limit
Alleged expenses
fiddlers to face
justice
Nude trampolinist
bounces free from
court
Nexus One phone
rockets to 28,000ft
UK.gov drops £6m on
Google
Fake Firefox update
used to sling
scareware
Slashdot
British ISPs Favour
Well-Connected
Customers
"Bizarre"
Nanobubbles Found
In Strained
Graphene
1-in-1,000 Chance
of Asteroid Impact
In
...
2182?
2 Chinese ISPs
Serve 20% of World
Broadband Users
World"s Fastest
Hybrid OK"d For
Production
Sometimes It"s OK
To Steal My Games
Thermoelectrics
Could Let You Feel
the Heat In Games
KDE SC 4.7 May Use
OpenGL 3 For
Compositing
Perl 6, Early, With
Rakudo Star
Internal Costs Per
Gigabyte —
What Do You Pay?
Article viewer

Cryptix OpenPGP



Written by:dimport
Published by:SAJChurchey
Published on:2003-06-21 07:19:46
Topic:Security
Search OSI about Security.More articles by dimport.
 viewed 10955 times send this article printer friendly

Digg this!
    Rate this article :
PGP (Pretty Good Privacy) is used both for protecting e-mail and file storage. It presents a way to digitally sign and encrypt information "objects." As such, it is well suited for any store and forward applications. In this article, we will take a close look at a Java implementation and summarize its qualities.

OpenPGP?

Open-PGP software uses a combination of strong public-key and symmetric cryptography to provide security services for electronic communications and data storage. These services include confidentiality, key management, authentication, and digital signatures (even more as development goes on!).

What is Cryptix OpenPGP?

Cryptix OpenPGP is a Java implementation of the OpenPGP standard as defined in RFC 2440 and its predecessor RFC 1991. Cryptix OpenPGP is not a user application. Instead its intended audience are developers who want to add PGP encryption or signatures to their application.

It can:
  • Encrypt/decrypt documents
  • Create and verify signatures on documents
  • Create and verify signatures on keys
  • Decrypt and encrypt secret keys (using a passphrase)
  • Generate keys
  • Read and write Keyrings
  • Supported public-key algorithms: DSA, ElGamal, RSA
  • Supported symmetric-key algorithms: IDEA, TripleDES, CAST5, Blowfish, Twofish
  • Supported message digests: MD5, SHA-1, RIPEMD160, MD2, Tiger


And futured, but not yet supported are:
  • Key/Signature revocations
  • Compression
  • Key servers
  • Full RFC1991 compliance
  • ElGamal signatures


The main author for Cryptix OpenPGP is Edwin Woudt.

It depends on:
  • Cryptix JCE(you need this for the crypto bits)
  • JDK 1.2 or higher


Cryptix OpenPGP does not work on JDK 1.1 because it uses part of the Collection framework that was added to JDK 1.2, and Cryptix OpenPGP does not work on JDK 1.4, because Cryptix JCE (woll get to this soon) does not work on JDK 1.4 yet.

Cryptix JCE (Java Cryptography Extension)

JCE provides a framework and implementations for encryption, key generation, key agreement and message authentication code algorithms. Support for encryption includes symmetric, asymmetric, block and stream ciphers. There is also secure streams and sealed objects support.

Cryptix JCE is a complete clean-room implementation of the official JCE 1.2 API published by Sun. Cryptix JCE is expected to be 100% compatible with Sun's implementation.

Cryptix JCE currently supports:
  • JDKs: 1.1, 1.2 and 1.3
  • Ciphers: Blowfish, CAST5, DES, IDEA, MARS, RC2, RC4, RC6, Rijndael, Serpent, SKIPJACK, Square, TripleDES, Twofish
  • KeyAgreements: Diffie-Hellman
  • Modes: CBC, CFB-(8, 16, 24, ..., blocksize), ECB, OFB-(blocksize), openpgpCFB
  • Hashes: MD2, MD4, MD5, RIPEMD-128, RIPEMD-160, SHA-0, SHA-1, SHA-256/384/512, Tiger
  • MACs: HMAC-MD2, HMAC-MD4, HMAC-MD5, HMAC-RIPEMD-128, HMAC-RIPEMD-160, HMAC-SHA-0,
  • HMAC-SHA-1, HMAC-Tiger
  • Signatures: RawDSA, RSASSA-PKCS1, RSASSA-PSS
  • Assymetric ciphers: RSA/PKCS#1, ElGamal/PKCS#1
  • SecureRandom SPIs´: /dev/urandom on systems that support it (FreeBSD, Linux, OpenBSD and possibly other UNIXen)


You can get it from the Cryptix website.

As Cryptix OpenPGP uses RFC2440 specification, it might be good to
know the main confidentiality method defined in it:


OpenPGP uses two encryption methods to provide confidentiality: symmetric-key encryption and public-key encryption. With public-key encryption, the object is encrypted using a symmetric encryption algorithm. Each symmetric key is used only once. A new session key is generated as a random number for each message. Since it is used only once, the session key is bound to the message and transmitted with it. To protect the key, it is encrypted with the receiver's public key.

For more info about RFC2440: http://www.ietf.org/rfc/rfc2440.txt
More info about Cryptix OpenPGP: http://www.cryptix.org

I tried not to get much into details but bring out the main things.. a short preview. Any comments welcome, because I know I'm not that good of a writer!

Details can all be read from the URLs I have here...in the RFC2440 text you get more detailed info about the methods and detailed info about algorithms that are used in OpenPGP. I suggest you read that, and as always, Google to get more :)

Also, Cryptix is looking for contributions on several areas; so, there are some "challanges" for coders there.

Melborp

This article was originally written by Melborp

Did you like this article? There are hundreds more.

Comments:
Anonymous
2010-01-20 00:29:22
http://www.bagscabin.com/mulberry bags
Anonymously add a comment: (or register here)
(registration is really fast and we send you no spam)
BB Code is enabled.
Captcha Number:


Blogs: (People who have posted blogs on this subject..)
MaxMouse
PSP on Mon 7th Sep 10am
I was going to write an article on PSP NIDS, but when i started doing it, it felt as if it dropped a little short of what i wanted it to be, and wasn't particularly long (or interesting to people not associated with the PSP Scene). I did write about it
halsten
Backdoor.W32.Small.PF Analysis on Mon 7th Jan 3am
A long time has passed since my first analysis paper, but here is another one. This time it’s short and small. The package contain all the necessary files to get you started on understanding the malware. I hope it’s better than my last paper. You can chec
halsten
Malware Analysis on Sun 5th Aug 3am
Hello all, in here (http://iamhalsten.thecoderblogs.com/200 7/07/23/malware-analysis/) you can find my latest analysis paper for a malware I've analyzed. The paper is extensively and comprehensively documented. Have fun reading it. -- halsten http://i
sefo
AVG's Restore File As... on Wed 30th Aug 1pm
It is possible to restore infected files from the vault to the 'computer' using the option 'Restore File As'. So I restored as 'blah.xyz' the wmf file AVG found the other day and I put it on the desktop. My surprise was to discover that AVG restored

Test Yourself: (why not try testing your skill on this subject? Clicking the link will start the test.)
Cryptography by TroPe

This test will cover Symmetric cryptography, public keys, key management, and some questions on cryptanalysis. If you know a little something about Crypt stuff, give this test a shot!


     
Your Ad Here
 
Copyright Open Source Institute, 2006