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