Class NTLMEngineImpl.HMACMD5

  • Enclosing class:
    NTLMEngineImpl

    static class NTLMEngineImpl.HMACMD5
    extends java.lang.Object
    Cryptography support - HMACMD5 - algorithmically based on various web resources by Karl Wright
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] ipad  
      protected java.security.MessageDigest md5  
      protected byte[] opad  
    • Constructor Summary

      Constructors 
      Constructor Description
      HMACMD5​(byte[] input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getOutput()
      Grab the current digest.
      (package private) void update​(byte[] input)
      Update by adding a complete array
      (package private) void update​(byte[] input, int offset, int length)
      Update the algorithm
      • Methods inherited from class java.lang.Object

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

      • ipad

        protected final byte[] ipad
      • opad

        protected final byte[] opad
      • md5

        protected final java.security.MessageDigest md5
    • Constructor Detail

      • HMACMD5

        HMACMD5​(byte[] input)
    • Method Detail

      • getOutput

        byte[] getOutput()
        Grab the current digest. This is the "answer".
      • update

        void update​(byte[] input)
        Update by adding a complete array
      • update

        void update​(byte[] input,
                    int offset,
                    int length)
        Update the algorithm