METHOD_0 ( ) { java . lang . String key = STRING_0 ; java . lang . String val = STRING_1 ; byte [ ] expected = new byte [ ] { - INT_0 , 2 , INT_1 , - INT_2 , 9 , - INT_3 , INT_4 , INT_5 , INT_6 , INT_7 , - INT_8 , INT_9 , - INT_10 , - INT_11 , INT_12 , INT_13 , - INT_4 , INT_10 , INT_14 , INT_15 } ; byte [ ] IDENT_0 = org . apache . shindig . common . crypto . IDENT_1 . METHOD_1 ( key . getBytes ( ) , val . getBytes ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( byte [ ] , byte [ ] ) { if ( ( key . length ) < ( org . apache . shindig . common . crypto . IDENT_1 . IDENT_2 ) ) { throw new java . security . METHOD_2 ( ( ( STRING_2 + ( org . apache . shindig . common . crypto . IDENT_1 . IDENT_2 ) ) + STRING_3 ) ) ; } javax . crypto . IDENT_3 IDENT_0 = javax . crypto . IDENT_3 . getInstance ( org . apache . shindig . common . crypto . IDENT_1 . IDENT_4 ) ; java . security . IDENT_5 IDENT_6 = new javax . crypto . spec . METHOD_3 ( key , org . apache . shindig . common . crypto . IDENT_1 . IDENT_4 ) ; IDENT_0 . init ( IDENT_6 ) ; IDENT_0 . update ( in ) ; return IDENT_0 . METHOD_4 ( ) ; }
org . junit . Assert . assertArrayEquals ( expected , IDENT_0 )