This commit is contained in:
2024-06-04 16:57:57 +02:00
parent 54c1862a32
commit aed0a251d4
+24
View File
@@ -0,0 +1,24 @@
Tests : ![CI status](https://ci.pband.ch/api/badges/11/status.svg "CI status")
# Crypto tools
Various crypto tools used often.
The lib is based as much as possible on the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) !
The JWT part uses [JOSE](https://github.com/panva/jose) as it implements all the JWT functions.
The signature part uses [noble-ed25519](https://github.com/paulmillr/noble-ed25519) instead of the Web Crypto API, so you can derive a KeyPair from a password.
# Tools
- JWT : Sign/Verify JWT with payload, audience and issuer
- PBKDF : Derive password
- Signature
- Generate
- Derive from password
- Sign
- Verify
- boxes
- Private box
- Secret box
- Password box
- Wrapping
- Private
- Secret
- Password