Logo Search packages:      
Sourcecode: libgnucrypto-java version File versions  Download package

IMessageDigest gnu::crypto::sasl::srp::SRP::newDigest (  )  [inline]

Returns a new instance of the SRP message digest algorithm --which is SHA-160 by default, but could be anything else provided the proper conditions as specified in the SRP specifications.

Returns:
a new instance of the underlying SRP message digest algorithm.
Exceptions:
RuntimeException if the implementation of the message digest algorithm does not support cloning.

Definition at line 137 of file SRP.java.

References gnu::crypto::hash::IMessageDigest::clone(), and mda.

                                     {
      return (IMessageDigest) mda.clone();
   }


Generated by  Doxygen 1.6.0   Back to index