Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 463 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 463 Bytes

Signgen

Signature generator for various devcookies software API

PHP

Supported version: 5.3+

Code example:

<?php
require_once "path/to/php/devcookies/SignatureGenerator.php";

$generator = new devcookies\SignatureGenerator("my_salt_from_manager");

$requestParams = array(
	"site_id" => 100239,
	"action" => "createorder",
	"...",
);

$requestParams["signature"] = $generator->assemble($requestParams);
?>

License

MIT License