Find Jobs
Hire Freelancers

PHP Encrypting File

$30-50 USD

进行中
已发布超过 11 年前

$30-50 USD

货到付款
Make a PHP file that can be included with our existing project. The PHP file will encrypt 720 files, usually begin with for($i=1;$i<721:$i++){ $file[$i] = .......; $handle[$i]=fopen($file[$i],'r+'); .... } You should have some knowledge on hexadecimal. Here are the information that will help you through making this project: -Each file that is to be encrypted are 136 bytes. -The last 128 bytes are to be encrypted and the first 8 bytes will remain the same -Each block is exactly 32 byte, Block A: 0x08-0x27, Block B: 0x28-0x47, Block C: 0x48-0x67, Block D: 0x68-0x87 Here is how block shuffling work: $pid = hexdec(bin2hex(strrev(file_get_contents($file,NULL,NULL,0x0,4)))); $pv = (($pid & 0x3E000) >> 0xD) % 24; If PV Block Order 00 ABCD 01 ABDC 02 ACBD 03 ACDB 04 ADBC 05 ADCB 06 BACD 07 BADC 08 BCAD 09 BCDA 10 BDAC 11 BDCA 12 CABD 13 CADB 14 CBAD 15 CBDA 16 CDAB 17 CDBA 18 DABC 19 DACB 20 DBAC 21 DBCA 22 DCAB 23 DCBA *** To encrypt the data: -Shuffle the blocks using the block shuffling algorithm above. -Seed the PRNG with the checksum (let X[n] be the checksum), (Note: checksum is located at 0x06-0x07 -Sequentially, for each 2-byte word Y from 0x08 to 0x87, apply the transformation: unencryptedByte = Y xor rand() This project should take approximately 30 min to be done, however we allow one week or more time as you request.
项目 ID: 2611349

关于此项目

1条提案
远程项目
活跃11 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Please see PMB skype id;;The Administrator removed this message for containing contact details which breaches our Terms of Service
$40 USD 在1天之内
0.0 (1条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Freemont, United States
5.0
8
付款方式已验证
会员自4月 11, 2011起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。