未知算法解密字节字符串 [英] Unknown algorithm decrypt Byte String

查看:93
本文介绍了未知算法解密字节字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的大家,

我在字节数组中有一些数据但不知道它的算法以及如何加密/解密它。



例如:

字节数组{128,12,229,248} =>数据

字节数组{128,12} => Da

字节数组{128,12,229} => Dat

字节数组{128,229} => ..WRONG DECRYPT STRING

字节数组{165,15,242,253,164,177,2,30,166,14,40,121,40,88,61,189,61 ,181,15,166,162} => abcdefgh1234567890ABC



注意:如果我改变一些字节的位置,就会出问题



请帮助

谢谢。

Dear everyone,
I have a some data in byte array but don''t know its algorithm and how to encrypt/decrypt it.

For example:
array of bytes { 128, 12, 229, 248 } => Data
array of bytes { 128, 12 } => Da
array of bytes { 128, 12, 229 } => Dat
array of bytes { 128, 229 } => ..WRONG DECRYPT STRING
array of bytes { 165, 15, 242, 253, 164, 177, 2, 30, 166, 14, 40, 121, 40, 88, 61, 189, 61, 181, 15, 166, 162 } => abcdefgh1234567890ABC

Note: if I change position of some bytes, it''ll go wrong

Please help
Thanks.

推荐答案

这个问题没有意义。



什么算法?



您是否在询问如何解密数据?如果不知道它是如何加密的,你将无法对其进行解密。



您是在询问数据的含义是什么?没有它的文档,它只是一堆giberrish。
The question doesn''t make sense.

What algorithm??

Are you asking how to decrypt the data? Without knowning how it was encrypted you''re not going to be able to decrypt it.

Are you asking what the meaning of the data is? Without the documentation on it, it''s just a bunch of giberrish.


你如何找到你的样品的答案?



通常,加密算法应该提供难以解密的数据,否则加密数据几乎没有意义。更难解密,更好的是安全性。



看看你的样本,似乎字节数与字符数相匹配,并且可以确认一边是一个字符串,另一边是相同长度的截断字符串。



但是,根据位置,相同的字符可以有不同的值。



当你说WRONG DECRYPT STRING时,你的意思是什么?你期待什么,得到别的东西吗?你现在怎么回事?你得到了什么?你有什么期望?



你有加密和解密的源代码吗?如果没有,你试图解密那些数据或者你试图窃取一些你不应该访问的编码信息是否合法?
How have you found the answer for your sample ?

Usually encrypring algorithm should give data that is hard to decrypt otherwise it would be almost pointless to encrypt the data. The harder is it to decrypt, better is the security.

Looking at your sample, it seems that the number of bytes matches the number of characters and that one can trucate a string one side and get a truncated string the other side of the same length.

However, the same character can have different values depending on the position.

When you say WRONG DECRYPT STRING, what do you mean? Do you expect something and get something else? How do you now it is wrong. What did you get? What did you expect?

Do you have the source code for the encryption and decryption? If not, is it legal for you to try to decrypt that data or you are trying to steal some encoded informations you should not have access?


我一直在恢复我的iphone,但我不能恢复短信,所以我找到了一个允许从itune恢复短信的应用程序。除了cvs文件,我没有在it itune上备份短信。所以我必须逐个输入消息才能导入到我的iphone。

我在该应用程序中找到了一个数据库sqlite,但是每个sms都以字节存储内容,所以我必须知道如何加密我的消息到字节以便导入到我的手机。这是我的理由。



错误的DECRYPT STRING表示字节转换为不正确的字符串。例如:字节数组{128,229} => D ??

通过更改正文字节并在手机中获取结果字符串,我知道结果。
I have been restore my iphone, but I cannot restore SMS, so I found a application that allow restore SMS from itune. I have not backup SMS on I itune except cvs files. So I have to type message one by one to import to my iphone.
I found a database sqlite inside that application, but each sms store content in byte, so I have to know how to encrypt my message to byte in order to import to my phone. That''s is my reason.

WRONG DECRYPT STRING mean the that bytes are convert to incorrect string. For example: array of bytes { 128, 229 } => D
I know the result by change body byte and get result string in my phone.


这篇关于未知算法解密字节字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆