rewrite without bun, using Crypto API

This commit is contained in:
2024-07-30 22:13:13 +02:00
parent 39747d7e6e
commit 8301c7438d
4 changed files with 205 additions and 34 deletions
+11 -15
View File
@@ -1,23 +1,19 @@
{
"name": "crypto-server",
"description": "Various crypto utils that only works on the server side",
"description": "Various crypto utils that only work on the server side",
"version": "1.0.0",
"author": "Pascal Perrenoud <pascal@pband.ch>",
"dependencies": {
"log": "git+https://git.pband.ch/typescript/log.git",
"misc": "git+https://git.pband.ch/typescript/misc.git"
},
"devDependencies": {
"@types/bun": "^1.1.6",
"logger-console": "git+https://git.pband.ch/typescript/logger-console.git"
},
"module": "index.ts",
"type": "module",
"files": ["index.ts", "src"],
"scripts": {
"test": "bun test"
},
"dependencies": {
"jose": "^5.3.0",
"log": "git+https://git.pband.ch/typescript/log.git"
},
"devDependencies": {
"@types/bun": "^1.1.2"
}
"files": ["index.ts", "src"]
}