I just wrote some code that uses the new Sun JCE (Java Cryptography
Extensions).  To use it, you must have the JCE installed.  Basically,
this involves copying the four .jar files from the JCE distribution to
your ${JAVA_HOME}/jre/lib/ext directory, then editing the
${JAVA_HOME}/jre/lib/security/java.security file to include the line:

  security.provider.1=com.sun.crypto.provider.SunJCE

which makes the SunJCE the default security provider.  The test code
is:

  http://dawnstar.org/jce/MakeKey.java -- makes a key
  http://dawnstar.org/jce/KeyTest.java -- tests the key

If you find any problems, please let me know.  I'm hardly a
cryptography expert.

-- Travis Low  
   <mailto:[EMAIL PROTECTED]>
   <http://dawnstar.org/travis>

[EMAIL PROTECTED] wrote:
> 
> Hi All,
> 
> Do we have any kind of support in Turbine to do simple encryption/decryption of some 
>numbers passed around on the web pages especially on the links. (The problem is some 
>people might try to type in arbitrary numbers and get to see other's details).
> 
> Can anyone give me an idea if such open source is availble for quick look at it.
> 
> Thanks
> 
> Venkat
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to