Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

回馈社会

Posted by temp_ptr at 2011-12-08 00:50:36 on Problem 2174
我来说明题目给的sample到底是怎么来的:
假设未加密前的明文是s1,s2,s3,s4,....,sn(每个si都是一个char,占8个bit)
某key(k1,k2,...,k(n+1))可以把
s1,s2,s3,...,sn加密成
a1,a2,a3,...,an

同样的key可以把(32是空格的值)
32,s1,s2,s3,...,sn加密成
b1,b2,b3,b4,...,b(n+1)

题目给出的2个字符串分别是a[n],b[n+1]的16进制表示,求key[n+1]的16进制表示

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator