Devam Ediyor

495856 Convert 2 actionscript functions to PHP

I want these 2 AS3 function converted into PHP. It must have exactly the same results (same signature and nonce). The signature function uses AS3Crypto with SHA1.

for information:

param1 = the data to encrypt

param2 = secret key

param3 = token key

public function signature(param1:String, param2:String, param3:String = "") : String

{

var token:* = param2 + "&" + param3;

var _loc_5:* = [url removed, login to view]("sha1");

var _loc_6:* = [url removed, login to view]([url removed, login to view](token));

var _loc_7:* = [url removed, login to view]([url removed, login to view](param1));

var _loc_8:* = [url removed, login to view](_loc_6, _loc_7);

var _loc_9:* = [url removed, login to view](_loc_8);

return [url removed, login to view](_loc_8);

}

public static function OAuthNonce() : String

{

var _loc_1:* = new Date();

var _loc_2:* = new Date([url removed, login to view]() + 1970, [url removed, login to view](), [url removed, login to view](), [url removed, login to view](), [url removed, login to view](), [url removed, login to view](), [url removed, login to view]());

return ([url removed, login to view]() * 10000).toString();

}

Beceriler: ActionScript, Adobe Flash, Her şey Kabul, PHP

Daha fazlasını görün: convert actionscript 3 to actionscript 2, actionscript 2, php crypto, crypto php, php function as3, convert as3 function php, convert php as3, convert as3 php, php 10000, php encrypt, as3 convert php, convert flash static, php flash convert, convert key, php signature, encrypt string, as3 actionscript, php as3crypto, php as3, php flash signature, php convert flash, convert as3, as3crypto php, php token, flash actionscript key

İşveren Hakkında:
( 5 değerlendirme ) Miami, United States

Proje NO: #2241771