douwen3362 2018-07-10 07:23
浏览 84

解密/解密文本

Good Day!

This is my first time to ask question here in stackoverflow, cause usually I only read the solutions that has similar problem with mine. So my problem is, I had been given a task to decipher/decrypt the content of an excel file. (By the way i'm using PHP Language). I queried many times the encyrpt/decrypt on google but still failed. What I found somewhat related (well i guess the nearest solution here) is the base64_encode and base64_decode. To explain more this is my sample encrypted sentence (sentence because it should be resulted as a question)

V1JSeEhUUDJiaVdrZmJYSllxV3h2K3B1eDZYY2xobEM4QVRBTDhiTEVkU3JGVHVnelZWUUdWNGNyeGVGYXdrQU9DdXV2cFg4SkcxRzBJblRjY2E4SXh4Q21tNXNVZExrUVZFVDF0SFRXMGFTdms3ZTF5NlkvWXhCd2lkbHhBKzhRaSt5MlpzSC9KRVhNa2pZSXFIcnZBPT0=

I tried the code

$str = "V1JSeEhUUDJiaVdrZmJYSllxV3h2K3B1eDZYY2xobEM4QVRBTDhiTEVkU3JGVHVnelZWUUdWNGNyeGVGYXdrQU9DdXV2cFg4SkcxRzBJblRjY2E4SXh4Q21tNXNVZExrUVZFVDF0SFRXMGFTdms3ZTF5NlkvWXhCd2lkbHhBKzhRaSt5MlpzSC9KRVhNa2pZSXFIcnZBPT0="; 
base64_decode($str);

The Result is:

81y7Vr6Xqh13qRf4/lWLYMVtim98/w5Y6aNegV4FmbWwpHonakWSigYgN928ksjBdsTff1lSVIGQchQnoV5S8Mw0IIszCSUe2+QxHdJ6X875pS52vReRZcBKHmnN5uFH

Which is wrong because it should display a more readable words/sentence. I don't know if I'm just missing anything. Any advice will be greatly appreciated. Thank you in advance!

PS: I tried the online bsae64 decoder (https://www.base64decode.org/) and it displays the right words like Man -> TWfu (vice versa) so I don't know if I'm focusing on a wrong solution or syntax.

  • 写回答

1条回答 默认 最新

  • doy57007 2018-07-10 07:34
    关注

    You need to be sure about the encryption algorithm used on the file. If it is encrypted using AES, you might want to know the key.

    Apparently an AES, or a Blowfish block. Having the key would be helpful.

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示
  • ¥15 求三国群英传pl国战时间的修改方法
  • ¥15 matlab代码代写,需写出详细代码,代价私
  • ¥15 ROS系统搭建请教(跨境电商用途)
  • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。