Class NTLMEngineImpl.MD4

  • Enclosing class:
    NTLMEngineImpl

    static class NTLMEngineImpl.MD4
    extends java.lang.Object
    Cryptography support - MD4. The following class was based loosely on the RFC and on code found at http://www.cs.umd.edu/~harry/jotp/src/md.java. Code correctness was verified by looking at MD4.java from the jcifs library (http://jcifs.samba.org). It was massaged extensively to the final form found here by Karl Wright (kwright@metacarta.com).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int A  
      protected int B  
      protected int C  
      protected long count  
      protected int D  
      protected byte[] dataBuffer  
    • Constructor Summary

      Constructors 
      Constructor Description
      MD4()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getOutput()  
      protected void processBuffer()  
      protected void round1​(int[] d)  
      protected void round2​(int[] d)  
      protected void round3​(int[] d)  
      (package private) void update​(byte[] input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • A

        protected int A
      • B

        protected int B
      • C

        protected int C
      • D

        protected int D
      • count

        protected long count
      • dataBuffer

        protected final byte[] dataBuffer
    • Constructor Detail

      • MD4

        MD4()
    • Method Detail

      • update

        void update​(byte[] input)
      • getOutput

        byte[] getOutput()
      • processBuffer

        protected void processBuffer()
      • round1

        protected void round1​(int[] d)
      • round2

        protected void round2​(int[] d)
      • round3

        protected void round3​(int[] d)