METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . IDENT_1 . crypto . unit . IDENT_2 . METHOD_1 ( STRING_0 ) ; byte [ ] IDENT_3 = org . apache . IDENT_1 . crypto . IDENT_4 . bytes . IDENT_5 . METHOD_2 ( IDENT_0 ) ; byte [ ] IDENT_6 = STRING_1 . getBytes ( STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( byte [ ] ) { java . io . ByteArrayInputStream IDENT_7 = new java . io . ByteArrayInputStream ( input ) ; java . util . IDENT_8 . IDENT_9 in = new java . util . IDENT_8 . METHOD_3 ( IDENT_7 ) ; byte [ ] out = new byte [ ( input . length ) * 2 ] ; int IDENT_10 = 0 ; int read ; int IDENT_11 = input . length ; while ( ( read = in . read ( out , IDENT_10 , ( ( ( out . length ) - IDENT_10 ) - 1 ) ) ) > 0 ) { IDENT_10 += read ; if ( ( IDENT_10 + 1 ) == ( out . length ) ) { out = java . util . Arrays . METHOD_4 ( out , ( ( out . length ) + IDENT_11 ) ) ; } } if ( IDENT_10 < ( out . length ) ) { out = java . util . Arrays . METHOD_4 ( out , IDENT_10 ) ; } return out ; }
org . junit . Assert . assertArrayEquals ( IDENT_6 , IDENT_3 )