METHOD_0 ( ) { java . lang . String algorithm = STRING_0 ; byte [ ] bytes = new byte [ ] { - 16 , - INT_0 , INT_1 , INT_2 , INT_3 , - INT_4 , - INT_5 , - INT_6 , - INT_7 , - INT_8 , - INT_9 , INT_10 , - INT_11 , - INT_12 , INT_13 , - INT_14 } ; java . lang . String expResult = STRING_1 ; java . lang . String result = org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 ( algorithm , bytes ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . io . File ) { final java . security . IDENT_3 IDENT_4 = java . security . IDENT_3 . getInstance ( algorithm ) ; try ( java . io . IDENT_5 IDENT_6 = new java . io . METHOD_2 ( file ) ; java . nio . IDENT_7 . IDENT_8 ch = IDENT_6 . METHOD_3 ( ) ) { final java . nio . ByteBuffer buf = java . nio . ByteBuffer . METHOD_4 ( INT_15 ) ; int b = ch . read ( buf ) ; while ( ( b != ( - 1 ) ) && ( b != 0 ) ) { buf . METHOD_5 ( ) ; final byte [ ] bytes = new byte [ b ] ; buf . get ( bytes ) ; IDENT_4 . update ( bytes , 0 , b ) ; buf . METHOD_6 ( ) ; b = ch . read ( buf ) ; } return IDENT_4 . METHOD_7 ( ) ; } }
org . junit . Assert . assertEquals ( expResult , result )