question: public String toString ( ) { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; PrintStream p = new PrintStream ( baos ) ; p . print ( algorithm + " Message Digest from " + provider . getName ( ) + ", " ) ; switch ( state ) { case INITIAL : p . print ( "<initialized>" ) ; break ; case IN_PROGRESS : p . print ( "<in progress>" ) ; break ; } p . println ( ) ; return ( baos . toString ( ) ) ; }
target:  Returns a string representation of this message digest object.