• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where did AES go?

 
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did as much reading and coding as I could absorb. Today in trying to get some useable routines produced I find DES, Triple DES, Blowfish, HMAC-MD5, and HMAC-SHA1 algorithms seem to be the only algorithm that SunJCE supports. Cryptix doesn't seem to have it either even though all the books I could absorb made it definite that AES is the only accepted contemporary practice.

Is it BC wins again? Or am I missing something.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure? From the Cryptix 3.2 release notes:


3.4 Can I use the AES (Rijndael)?
=================================

Yes. Starting with Cryptix 3.1.3 and Cryptix 3.2.0 is available under both
"Rijndael" and "AES" as a normal Cipher.


In general, though, Cryptix seems to be dead. Is there a particular reason you're preferring it over BC?
[ April 07, 2008: Message edited by: Ulf Dittmer ]
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[ message edit, i think it was the policy files that threw me off - i went from Criptix to SunJCE right before making the post title ]

To be straight with you, it's the Bouncy stuff that scares me. I have to deal with situations where I cannot have even a millimeter of bounce, let alone bouncing an entire Castle. Forget discussing what I saw in Jason Weiss' book. I try, it does not work - it is too deep in me. They had beer as enticement on their web page, but I quit drinking years ago. ( humor )

For the moment, the question derived from looking at

http://java.sun.com/j2se/1.5.0/docs/guide\
/security/jce/JCERefGuide.html#CipherClass

and for the moment I have reverted to 56-bit DES ~ any ( emphasise any ) actual encipherment by any actual cryptographic provider would vastly and immeasurably be an improvement over what I have now, which is nothing. The code I have at the moment has read in a DESKeySpec and I have totally hung right now on the fact that most readers try to do byte / character conversion - but the file is read in in bytes and the character conversion is done without asking or I think it has to or something because of all the MBCS issues. I can write my files as MBCS, there is even a Java Class that does MBCS I/O with a properly written byte order mark. I have deflated on my balk about that and will probably be converting to that file type, I could even do it as part of this questioning if it would provide a solution to crypto wanting to work on bytes and human readable wanting to have 16 bit char as it's native datatype.

This is where I am at right as I come to post.



Sorry, but there are deep personal matters involved and I will not be able to go with Bouncy anything. I need nano-meter precision. The use of a totally random variable name is all throughout thousands of lines of code, I have absolutely no trouble keeping up with them. That's how deep it runs.
[ April 07, 2008: Message edited by: Nicholas Jordan ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic