we are looking for an easy way of calculating MD5 on incoming data via servlet;
at present we are using java MesageDigest class to calculate MD5 which takes byte[] as input ; we are recieving 3-7k of data & creating byte[] of such big data is hindering the performance. Kindly let us know if any one has better way of doing this.

Thanx & Regards,