METHOD_0 ( ) { org . json . JSONObject json = com . google . crypto . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 ) ; int errors = 0 ; org . json . IDENT_2 IDENT_3 = json . METHOD_2 ( STRING_1 ) ; for ( int i = 0 ; i < ( IDENT_3 . length ( ) ) ; i ++ ) { org . json . JSONObject group = IDENT_3 . METHOD_3 ( i ) ; org . json . IDENT_2 tests = group . METHOD_2 ( STRING_0 5 ) ; for ( int j = 0 ; j < ( tests . length ( ) ) ; j ++ ) { org . json . JSONObject IDENT_4 = tests . METHOD_3 ( j ) ; java . lang . String IDENT_5 = java . lang . String . format ( STRING_2 , IDENT_4 . METHOD_4 ( STRING_0 0 ) , IDENT_4 . getString ( STRING_3 ) ) ; byte [ ] IDENT_6 = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . decode ( IDENT_4 . getString ( STRING_4 ) ) ; byte [ ] key = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . decode ( IDENT_4 . getString ( STRING_5 ) ) ; byte [ ] msg = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . decode ( IDENT_4 . getString ( STRING_6 ) ) ; byte [ ] IDENT_9 = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . decode ( IDENT_4 . getString ( STRING_0 6 ) ) ; byte [ ] IDENT_10 = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . decode ( IDENT_4 . getString ( STRING_0 7 ) ) ; byte [ ] IDENT_11 = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . decode ( IDENT_4 . getString ( STRING_7 ) ) ; byte [ ] IDENT_12 = com . google . crypto . IDENT_0 . IDENT_7 . IDENT_13 . METHOD_5 ( IDENT_6 , IDENT_10 , IDENT_11 ) ; java . lang . String result = IDENT_4 . getString ( STRING_8 ) ; try { com . google . crypto . IDENT_0 . IDENT_14 IDENT_15 = METHOD_6 ( key ) ; byte [ ] IDENT_16 = IDENT_15 . METHOD_7 ( IDENT_12 , IDENT_9 ) ; boolean eq = com . google . crypto . IDENT_0 . IDENT_17 . METHOD_8 ( IDENT_16 , msg ) ; if ( result . equals ( STRING_0 3 ) ) { System . out . METHOD_9 ( STRING_0 2 , IDENT_5 , com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . encode ( msg ) , com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . encode ( IDENT_16 ) ) ; errors ++ ; } else { if ( ! eq ) { System . out . METHOD_9 ( STRING_0 1 , IDENT_5 , com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . encode ( IDENT_16 ) , com . google . crypto . IDENT_0 . IDENT_7 . IDENT_8 . encode ( msg ) ) ; errors ++ ; } } } catch ( java . security . IDENT_18 ex ) { if ( result . equals ( STRING_0 4 ) ) { System . out . METHOD_9 ( STRING_0 8 , IDENT_5 , ex ) ; errors ++ ; } } } } "<AssertPlaceHolder>" ; } encode ( byte [ ] ) { java . lang . String IDENT_19 = STRING_9 ; java . lang . StringBuilder result = new java . lang . StringBuilder ( ( 2 * ( bytes . length ) ) ) ; for ( byte b : bytes ) { int val = b & 255 ; result . append ( IDENT_19 . charAt ( ( val / 16 ) ) ) ; result . append ( IDENT_19 . charAt ( ( val OP_0 16 ) ) ) ; } return result . toString ( ) ; }
org . junit . Assert . assertEquals ( 0 , errors )