Results 1 to 2 of 2
  1. #1
    fynn is offline Member
    Join Date
    Jul 2014
    Rep Power

    Default JavaMail-Crypto Decryption Example

    Hi All,

    I am looking for some example snippets where i can see JavaMail-Crypto api doing the decryption of the encrypted email and its attacment.

    I have an encrypted email and the private key, i need to know how the api suports in decrypting the email content and attachment?

    Many thanks.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Rep Power

    Default Re: JavaMail-Crypto Decryption Example

    I've given it some time before I answered.

    Let me guess what has happened so far.

    - You googled "javamail encryption" and each and every of the few relevant links you got pointed you to javamail-crypto
    - each and every link you found mentions "there is this thing called javamail-crypto", but nobody seems to actually have ever used it; just like you they just found it using a google
    - the main page shows no documentation as "the code is the documentation"
    - now you come here as the last hope that someone might be able to point you to something

    I'm going to make two personal assumptions.

    - you don't know anything about using Java to do public/private key encryption/decryption or using BouncyCastle
    - you were looking for a quick API to not have to learn that very difficult topic either and javamail-crypto is what looked to do it for you

    At this point I'm going to crush your hopes. I did the Google too and from my experience with finding even the most obscurely hidden information, I'm pretty sure it is not there to be found. I'll scrape a few observations from the sourceforge page to backup my claim.

    JavaMail-Crypto Homepage

    - "the code is the documentation" (that's ALWAYS a red flag; I don't use jars which work like that)
    - "Its in development"
    - last updated: 2004

    This was pretty much a pipe dream of someone but he/she never pushed it to something finished. These kind of dead-on-arrival projects don't actually exist to give you something read-to-use, they only exist to share the source code so you can pick it up and use the code for your own purposes. That requires you to know the material.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Spring Crypto Utils 1.1.0
    By java software in forum Java Software
    Replies: 0
    Last Post: 02-04-2012, 06:51 PM
  2. Replies: 1
    Last Post: 06-14-2011, 01:26 PM
  3. Crypto puzzle
    By morello in forum Advanced Java
    Replies: 0
    Last Post: 02-26-2011, 10:23 PM
  4. javax.crypto.Cipher
    By Bill86 in forum Advanced Java
    Replies: 1
    Last Post: 12-18-2009, 10:17 PM
  5. Replies: 1
    Last Post: 10-11-2008, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts