The Artima Developer Community
Sponsored Link

Java Buzz Forum
BouncyCastle PGP Encryption

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Cory Watson

Posts: 284
Nickname: gphat
Registered: Jun, 2005

Cory Watson is a Senior Developer for Magazines.com
BouncyCastle PGP Encryption Posted: Jun 23, 2005 2:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Cory Watson.
Original Post: BouncyCastle PGP Encryption
Feed Title: One Mo' Gin
Feed URL: http://www.onemogin.com/blog/feed
Feed Description: Thoughts on many things. Developer stuff, mostly.
Latest Java Buzz Posts
Latest Java Buzz Posts by Cory Watson
Latest Posts From One Mo' Gin

Advertisement
After discovering that I had hardcoded the public key in the encrypt method, I’ve got my unit tests passing and the old code decrypting what I’ve encrypted. The following example is a little less verbose than my original decrypt example. You’ll need to pass in a PGPPublicKey, String (as byte[]), and an OutputStream. PGPEncryptedDataGenerator encryptor = [...]

Read: BouncyCastle PGP Encryption

Topic: Writing code for others that use it Previous Topic   Next Topic Topic: Are types worth *this*?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use