org.apache.sshd.common
Interface Digest

All Known Implementing Classes:
BaseDigest, MD5, SHA1

public interface Digest

Interface used to compute digests, based on algorithms such as MD5 or SHA1.

Author:
Apache MINA SSHD Project

Method Summary
 byte[] digest()
           
 int getBlockSize()
           
 void init()
           
 void update(byte[] foo, int start, int len)
           
 

Method Detail

init

void init()
          throws Exception
Throws:
Exception

getBlockSize

int getBlockSize()

update

void update(byte[] foo,
            int start,
            int len)
            throws Exception
Throws:
Exception

digest

byte[] digest()
              throws Exception
Throws:
Exception


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.