Code example for MessageDigest

Methods: getDigestLength

0
            throw new IllegalStateException();
        } 
    } 
 
    protected int engineGetDigestLength() { 
        return md5.getDigestLength();
    } 
 
    protected void engineReset() { 
        md5.reset();
        md5.update(ipad);
    } 
 
    protected void engineUpdate(byte b) {
        md5.update(b);
    } 
 
    protected void engineUpdate(byte[] input, int offset, int len) {
        md5.update(input, offset, len);
    }