Documentation of 'jhplot.security.MD5' Java class.
MD5
jhplot.security

Class MD5



  • public class MD5
    extends java.lang.Object
    Get MD5 hash for any object or a file with data
    • Constructor Summary

      Constructors 
      Constructor and Description
      MD5(java.io.File f)
      Initialize MD5 calculations for a file
      MD5(java.lang.Object o)
      Initialize MD5 calculations
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String get()
      Returns 32-character hex representation of this objects hash
      byte[] getData()
      Get data as stream
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MD5

        public MD5(java.lang.Object o)
        Initialize MD5 calculations
        Parameters:
        o - input object
      • MD5

        public MD5(java.io.File f)
        Initialize MD5 calculations for a file
        Parameters:
        f - input file
    • Method Detail

      • get

        public java.lang.String get()
        Returns 32-character hex representation of this objects hash
        Parameters:
        String - of this object's hash
      • getData

        public byte[] getData()
        Get data as stream
        Returns:
        data

DMelt 3.0 © DataMelt by jWork.ORG