@Deprecated public String sign(byte[] buf,SecretKey key,String algorithm){
  return sign2(buf,key,algorithm);
}

@ Deprecated public String sign ( byte [ ] buf , SecretKey key , String algorithm ) { return sign2 ( buf , key , algorithm ) ; }
deprecated . use static method sign2 intead . sign the contents of string . with the specified key and algorithm
