1 package com.maverick.crypto.digests; 2 3 public interface Digest { 4 5 public int doFinal(byte[] output, int offset); 6 7 public void finish(); 8 9 public String getAlgorithmName(); 10 11 public int getDigestSize(); 12 13 public void reset(); 14 15 public void update(byte in); 16 17 public void update(byte[] in, int inOff, int len); 18 } 19