8000 PowerShell added · PELock/StringEncrypt-WebAPI@4c868e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c868e7

Browse files
committed
PowerShell added
1 parent 827533a commit 4c868e7

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Our API is based on POST requests and JSON encoded response.
1111
In our PHP example, first you have to setup configuration array $options = array();, specify API command to execute and call stringencrypt() function that will return $result array.
1212

1313
Bartosz Wójcik
14-
http://www.pelock.com
14+
https://www.pelock.com

example.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// StringEncrypt.com Web API usage example
66
//
7-
// Version : v1.1
7+
// Version : v1.2
88
// Language : PHP
99
// Author : Bartosz Wójcik
1010
// Web page : https://www.stringencrypt.com
@@ -152,6 +152,8 @@
152152
//$options["lang"] = "js";
153153
//$options["lang"] = "python";
154154
//$options["lang"] = "ruby";
155+
//$options["lang"] = "autoit";
156+
//$options["lang"] = "powershell";
155157
//$options["lang"] = "haskell";
156158
//$options["lang"] = "masm";
157159
//$options["lang"] = "fasm";

example_file.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@
152152
//$options["lang"] = "js";
153153
//$options["lang"] = "python";
154154
//$options["lang"] = "ruby";
155+
//$options["lang"] = "autoit";
156+
//$options["lang"] = "powershell";
155157
//$options["lang"] = "haskell";
156158
//$options["lang"] = "masm";
157159
//$options["lang"] = "fasm";
@@ -197,7 +199,7 @@
197199
// decompress the output source code
198200
if ($options["compression"] == true)
199201
{
200-
$source = @gzuncompress(@base64_decode($source));
202+
$source = @gzuncompress(@base64_decode($result["source"]));
201203
}
202204
else
203205
{

example_is_demo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// StringEncrypt.com Web API usage example
66
//
7-
// Version : v1.1
7+
// Version : v1.2
88
// Language : PHP
99
// Author : Bartosz Wójcik
1010
// Web page : https://www.stringencrypt.com

stringencrypt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// StringEncrypt.com Web API library
66
//
7-
// Version : v1.1
7+
// Version : v1.2
88
// Language : PHP
99
// Author : Bartosz Wójcik
1010
// Web page : https://www.stringencrypt.com

0 commit comments

Comments
 (0)
0