Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # dev >> SHA support

Copy link to this message
Re: SHA support
Avro's RPC handshake mechanism was designed so that clients and
servers can in fact use different hashing algorithms.  So if you
change the handshake hashing to SHA in Java then you will not break
compatibility with other implementations.  You might reduce the
efficiency somewhat, requiring an extra round-trip the first time a
given server is contacted by a different client implementation.


On Thu, Oct 24, 2013 at 10:31 AM, Orayani, Marylou <[EMAIL PROTECTED]> wrote:
> We are using Java avro in one of our products and found out that it only supports MD5 to generate the hash for protocol texts. We have customers who require FIPS which, in turn, require a hash algorithm stronger than MD5, i.e., SHA. My searches did not yield any requests for this in the past. It seems to me that it may be fairly straightforward to add this support, namely, modifying Protocol.java to add SHA support. Since we're only using Java, this is our focus. Does this sound right?
> Marylou