Code example for MessageDigest

Methods: getDigestLength

0
            return new Hash(name, cloneDigest());
        } 
 
        @ExposedGet(name = "digestsize") 
        public synchronized int getDigestSize() { 
            return digest.getDigestLength();
        } 
 
        @ExposedGet(name = "digest_size") 
        public int getDigest_size() { 
            return getDigestSize(); 
        } 
 
        @ExposedGet(name = "block_size") 
        public PyObject getBlockSize() { 
            Integer size = blockSizes.get(name);
            if (size == null) {
                return Py.None; 
            } 
            return Py.newInteger(size);
        }