Class MD5

java.lang.Object
com.trilead.ssh2.crypto.digest.MD5
All Implemented Interfaces:
Digest

@Deprecated public final class MD5 extends Object implements Digest
Deprecated.
MD5. Based on the example code in RFC 1321. Optimized (...a little).
Version:
$Id: MD5.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
Author:
Christian Plattner, plattner@trilead.com
  • Constructor Summary

    Constructors
    Constructor
    Description
    MD5()
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    digest(byte[] dst)
    Deprecated.
     
    final void
    digest(byte[] dst, int pos)
    Deprecated.
     
    final int
    Deprecated.
     
    final void
    Deprecated.
     
    final void
    update(byte b)
    Deprecated.
     
    final void
    update(byte[] b)
    Deprecated.
     
    final void
    update(byte[] buff, int pos, int len)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MD5

      public MD5()
      Deprecated.
  • Method Details

    • reset

      public final void reset()
      Deprecated.
      Specified by:
      reset in interface Digest
    • update

      public final void update(byte b)
      Deprecated.
      Specified by:
      update in interface Digest
    • update

      public final void update(byte[] buff, int pos, int len)
      Deprecated.
      Specified by:
      update in interface Digest
    • update

      public final void update(byte[] b)
      Deprecated.
      Specified by:
      update in interface Digest
    • digest

      public final void digest(byte[] dst, int pos)
      Deprecated.
      Specified by:
      digest in interface Digest
    • digest

      public final void digest(byte[] dst)
      Deprecated.
      Specified by:
      digest in interface Digest
    • getDigestLength

      public final int getDigestLength()
      Deprecated.
      Specified by:
      getDigestLength in interface Digest