avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: SHA support
Date Thu, 24 Oct 2013 18:37:11 GMT
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 <morayani@hp.com> 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

View raw message