METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 . crypto . IDENT_3 . IDENT_4 IDENT_5 = new IDENT_0 . IDENT_1 . IDENT_2 . crypto . IDENT_3 . METHOD_1 ( ) ; byte [ ] data = new byte [ ] { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 } ; java . security . IDENT_6 IDENT_7 = java . security . IDENT_6 . getInstance ( STRING_0 ) ; IDENT_7 . METHOD_2 ( data ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . io . InputStream ) { try { java . security . IDENT_6 IDENT_7 = java . security . IDENT_6 . getInstance ( STRING_0 ) ; int count ; byte [ ] IDENT_8 = new byte [ INT_0 ] ; while ( ( count = source . read ( IDENT_8 , 0 , IDENT_8 . length ) ) > 0 ) { IDENT_7 . update ( IDENT_8 , 0 , count ) ; } return IDENT_7 . METHOD_2 ( ) ; } catch ( java . security . IDENT_9 e ) { throw new java . lang . RuntimeException ( e ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_7 . METHOD_2 ( data ) , IDENT_5 . METHOD_2 ( new java . io . ByteArrayInputStream ( data ) ) )