Update README.md

This commit is contained in:
Mikołaj Pich 2019-09-24 16:47:01 +02:00
parent 32b0d374d4
commit dab8b33500
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
2 changed files with 12 additions and 13 deletions

View file

@ -1,15 +1,13 @@
# UONET+ Request Signer
[![CircleCI](https://img.shields.io/circleci/project/github/wulkanowy/uonet-request-signer/master.svg?style=flat-square)](https://circleci.com/gh/wulkanowy/uonet-request-signer)
[![npm](https://img.shields.io/npm/v/@wulkanowy/uonet-request-signer.svg?style=flat-square)](https://www.npmjs.com/package/@wulkanowy/uonet-request-signer)
[![JitPack](https://img.shields.io/jitpack/v/wulkanowy/uonet-request-signer.svg?style=flat-square)](https://jitpack.io/#wulkanowy/uonet-request-signer)
[![Packagist Pre Release](https://img.shields.io/packagist/vpre/wulkanowy/uonet-request-signer.svg?style=flat-square)](https://packagist.org/packages/wulkanowy/uonet-request-signer)
[![pypi](https://img.shields.io/pypi/v/uonet-request-signer.svg?style=flat-square)](https://pypi.org/project/uonet-request-signer/)
## Implementations
- [JS](https://github.com/wulkanowy/uonet-request-signer/tree/master/js)
- [Java](https://github.com/wulkanowy/uonet-request-signer/tree/master/jvm)
- [PHP](https://github.com/wulkanowy/uonet-request-signer/tree/master/php)
- [Python](https://github.com/wulkanowy/uonet-request-signer/tree/master/python)
| Implementation | Version |
|---|---|
| [JS](https://github.com/wulkanowy/uonet-request-signer/tree/master/js) | [![npm](https://img.shields.io/npm/v/@wulkanowy/uonet-request-signer.svg?style=flat-square)](https://www.npmjs.com/package/@wulkanowy/uonet-request-signer) |
| [Node.js](https://github.com/wulkanowy/uonet-request-signer/tree/master/node) | [![npm](https://img.shields.io/npm/v/@wulkanowy/uonet-request-signer-node.svg?style=flat-square)](https://www.npmjs.com/package/@wulkanowy/uonet-request-signer-node) |
| [JVM](https://github.com/wulkanowy/uonet-request-signer/tree/master/jvm) | [![JitPack](https://img.shields.io/jitpack/v/wulkanowy/uonet-request-signer.svg?style=flat-square)](https://jitpack.io/#wulkanowy/uonet-request-signer) |
| [PHP](https://github.com/wulkanowy/uonet-request-signer/tree/master/php) | [![Packagist Pre Release](https://img.shields.io/packagist/vpre/wulkanowy/uonet-request-signer.svg?style=flat-square)](https://packagist.org/packages/wulkanowy/uonet-request-signer) |
| [Python](https://github.com/wulkanowy/uonet-request-signer/tree/master/python) | [![pypi](https://img.shields.io/pypi/v/uonet-request-signer.svg?style=flat-square)](https://pypi.org/project/uonet-request-signer/) |

View file

@ -60,19 +60,20 @@
<a href="https://github.com/wulkanowy/uonet-request-signer">GitHub</a> |
<a href="https://github.com/wulkanowy/uonet-request-signer/tree/master/php">PHP implementation</a> |
<a href="https://github.com/wulkanowy/uonet-request-signer/tree/master/js">JS implementation</a> |
<a href="https://github.com/wulkanowy/uonet-request-signer/tree/master/node">Node.js implementation</a> |
<a href="https://github.com/VLO-GDA/uonet-sdk/blob/master/src/main/java/net/maciekmm/uonet/EncryptionUtils.java">Java implementation</a> |
<a href="https://github.com/wulkanowy/uonet-request-signer/tree/master/python">Python implementation</a> |
<a href="https://github.com/wulkanowy/uonet-request-signer/tree/master/python">Python implementation</a>
</footer>
<script>
function uuid() {
var uuid = "", i, random;
let uuid = "", i, random;
for (i = 0; i < 32; i++) {
random = Math.random() * 16 | 0;
if (i == 8 || i == 12 || i == 16 || i == 20) {
if (i === 8 || i === 12 || i === 16 || i === 20) {
uuid += "-"
}
uuid += (i == 12 ? 4 : (i == 16 ? (random & 3 | 8) : random)).toString(16);
uuid += (i === 12 ? 4 : (i === 16 ? (random & 3 | 8) : random)).toString(16);
}
return uuid.toUpperCase();
}