DarthSim
5ed71c6b60
Merge branch 'master' into version/3
2021-05-17 18:25:04 +06:00
Alex Fedoseev
088ffa80b4
Add Rust example ( #614 )
2021-04-26 18:41:02 +06:00
DarthSim
ceb9a61976
Remove basic URL format
2021-03-15 18:06:01 +06:00
Nicolas REY
fe333f6487
Refactor C# sample / fix generation fail on some url supplied with queries parameters ( #515 )
...
Co-authored-by: REY Nicolas <nicolas.rey@interflora.fr>
2020-12-02 14:19:17 +06:00
Galdin Raphael
c159027dae
Use a URL-safe Base64 string ( #499 )
2020-11-20 10:43:06 +06:00
Gregory K
776dfaa420
Update Java example ( #498 )
2020-11-20 10:42:36 +06:00
PrasannaSRK07
ec2795e369
dart signature example ( #320 )
2020-01-13 19:29:58 +06:00
Sleva λ
fd206600a5
Fixed browser usage
...
Using `const createHmac = require('create-hmac')` will ensure that this script will work both on Node.js and Browser (otherwise it will crash on browser).
I've also updated `new Buffer` on line 7, which is deprecated in flavor of `Buffer.from`
2019-09-04 23:31:20 +02:00
Marius Cristea
d3371e95b7
adds truncated signature example for PHP ( #131 )
...
* adds truncated signature example for PHP
* split truncated signature in a separate file
2019-01-21 15:53:26 +06:00
DarthSim
90adb3088e
Fix logging in Go example
2019-01-18 17:32:19 +06:00
DarthSim
ed795675be
Refactored logging; Syslog support
2019-01-14 16:50:59 +06:00
René Koller
cca6bdaf06
Update Elixir example ( #77 )
...
Base.decode16!/2 only accepts uppercase strings as default so the elixir example does not work out of the box.
2018-10-18 19:47:21 +06:00
Adam Quaile
09bfd44c55
Update PHP URL generation example ( #66 )
...
String interpolation is a little easier to read and understand as there's no back-and-forth between string format and arguments.
Matches JS version: https://github.com/DarthSim/imgproxy/blob/master/examples/signature.js#L27
2018-09-06 17:36:03 +06:00
josepowera
96249406f4
Create signature.java ( #64 )
...
Java example for creating signature
2018-09-06 17:34:59 +06:00
Po Chen
cc4d98add7
Add Elixir example
2017-11-13 21:48:31 +11:00
Mikuláš Dítě
bc0f79869c
Add swift signing example
...
HMAC is slightly complex as it was not yet ported to pure Swift
Can be complied and run as
echo '#import <CommonCrypto/CommonCrypto.h>' > bridge.h
swiftc examples/signature.swift -import-objc-header bridge.h
./signature
2017-10-27 18:30:19 +02:00
oldcai
de21b937db
Python example
2017-09-30 07:09:23 +08:00
Sergey Alexandrovich
c987dcc430
Merge pull request #15 from brendanmckenzie/master
...
Added C# signature example
2017-09-29 14:29:08 +06:00
Sergey Alexandrovich
a77e10013d
Merge pull request #17 from Biromain/php-signature
...
Signature example for PHP
2017-09-29 14:27:17 +06:00
Biromain
f253100c61
Signature example for PHP
2017-09-29 10:13:40 +02:00
Richard Chiu
d533b65ca0
add new signature example file for node.js
2017-09-29 15:52:24 +08:00
Brendan McKenzie
0fed6b87c7
Added C# signature example
2017-09-29 11:06:07 +10:00
DarthSim
091bc5aa36
Full README
2017-07-04 19:17:52 +06:00