Sechzehn SDKs, eine kanonische Schnittstelle

Dieselben SIEM-Events. Dieselben Parser-Limits. Dieselben IETF-Testvektoren. Dieselben Umgebungsvariablen. Wählen Sie die Sprache; der Vertrag ist identisch.

Repository klonen

Auf GitLab durchsuchen
git clone https://gitlab.com/toontoolbox/toonwebtoken.git

Backend-SDKs (14)

Rust

Stabil
implementations/rust/

Referenz-Rust-Crate `toonwebtoken` 1.5.0 — duale MIT/Apache-2.0-Lizenz. Criterion-Benchmarks unter 30 ms. Echtes ML-DSA-65 via oqs 0.11.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/rust
cargo build
Tests
110
Bench
9 (6 Parser + 3 PQC)

Python

Stabil
implementations/python/

Referenz-SDK mit 322 Tests. Module decken Härtung (TWT-A), Konfigurations-Integrität (TWT-C), AuditTrail (TWT-D4) ab. Echtes ML-DSA-65 via liboqs.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/python
pip install -r requirements.txt
Tests
322
Bench
9 (6 Parser + 3 PQC)

TypeScript / Node.js

Stabil
implementations/javascript/

190 Tests. Echtes ML-DSA-65 via @noble/post-quantum. Jest-Runner, perf_hooks-Harness für Benchmarks.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/javascript
npm install
Tests
190
Bench
9 (6 Parser + 3 PQC)

Go

Stabil
implementations/go/

`twt`-Paket + `twt/config`-Unterpaket. 138 Tests, `-race` sauber. Echtes ML-DSA-65 via cloudflare/circl 1.6.3 (reines Go).

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/go
go mod download
Tests
138
Bench
9 (6 Parser + 3 PQC)

Java

Stabil
implementations/java/

Maven-Projekt, JDK 17+. 179 Tests. Echtes ML-DSA-65 via BouncyCastle 1.79.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/java
mvn install
Tests
179
Bench
9 (6 Parser + 3 PQC)

C# / .NET 8

Stabil
implementations/csharp/

185 Tests (166 Haupt + 22 TwtConfig). Echtes ML-DSA-65 via BouncyCastle.NET 2.6.2. xUnit-Suite.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/csharp
dotnet restore
Tests
185
Bench
9 (6 Parser + 3 PQC)

C++

Stabil
implementations/cpp/

CMake-Projekt. Echtes ML-DSA-65 via liboqs 0.15 (C-API + RAII). 13 ctest-Suiten, Benchmark-Harness.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/cpp
mkdir build && cd build && cmake .. && make
Tests
13 Suiten
Bench
7 (4 HS256 + 3 PQC)

Swift

Stabil
implementations/swift/

Swift-Package-Manager-Projekt. 150 Tests. Echtes ML-DSA-65 via liboqs 0.15 SPM C-Shim.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/swift
swift build
Tests
150
Bench
7

C

Stabil
implementations/c/

Makefile-Build erzeugt libtwt.a. ~90 Tests. Echtes ML-DSA-65 via liboqs 0.15 C-API.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/c
make
Tests
52
Bench

VB.NET

Stabil
implementations/vbnet/

156 Tests. Echtes ML-DSA-65 via BouncyCastle.NET 2.6.2. Teilt sich die .NET-8-Toolchain mit dem C#-SDK.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/vbnet
dotnet restore
Tests
156
Bench
7 (4 HS256 + 3 PQC)

PHP

Stabil
implementations/php/

157 Tests. Echtes ML-DSA-65 via PHP-FFI zu liboqs 0.15. Docker-basierte CI (php:8.3-cli).

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/php
composer install
Tests
157
Bench
7

Perl

Stabil
implementations/perl/

152 Tests. Echtes ML-DSA-65 via FFI::Platypus 2.0 zu liboqs 0.15. Docker-basierte CI.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/perl
cpanm --installdeps .
Tests
152
Bench
7

Fortran

Stabil
implementations/fortran/

13 ctest-Suiten. Echtes ML-DSA-65 via iso_c_binding zu liboqs 0.15. CMake-Build, Docker-CI.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/fortran
mkdir build && cd build && cmake .. && make
Tests
13 Suiten
Bench
7

Delphi

Beta
implementations/delphi/

Statische Überprüfung validiert. DUnitX-Test-Framework. Nur Windows (RAD Studio).

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/delphi
Tests
Statische Überprüfung
Bench

Frontend-SDKs (2/2)

React

Beta
implementations/react/

Hooks (`useTWT`, `useAuth`), `TWTProvider`, `ProtectedRoute`, localStorage-Persistenz mit Auto-Refresh.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/react
npm install

Vue 3

Beta
implementations/vue/

Composables (`useTWT`, `useAuth`), `createTWTPlugin`, Navigations-Guards, reaktiver State mit Auto-Refresh.

git clone https://gitlab.com/toontoolbox/toonwebtoken.git
cd toonwebtoken/implementations/vue
npm install

SDK-übergreifender Vertrag

  • Dieselbe kanonische Schnittfläche über 16 SDKs (siehe SDK_REFERENCE.md).
  • Dieselben SIEM-Events: TWT_HONEYPOT_HIT, TWT_TOKEN_ISSUED, TWT_TOKEN_REVOKED, TWT_CONFIG_CHANGED, CONFIG_YAML_DEPRECATED, TWT_BREACH_DETECTED.
  • Dieselben Umgebungsvariablen: TWT_CONFIG_HMAC_KEY, TWT_CONFIG_HMAC, TWT_CONFIG_PATH.
  • Dieselben Parser-Limits: Tiefe 10, 1 MiB gesamt, 100 Schlüssel/Objekt, 256-Byte-Schlüssel, 10 000-Element-Arrays, 64 KiB pro String.
  • Dieselben IETF-Testvektoren: erzeugt vom Rust-Crate, byteweise neu validiert von jedem konformen SDK.
  • Duale MIT/Apache-2.0-Lizenz über alle 16 SDKs.