REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 667 B
Close
/opt/alt/alt-nodejs18/root/usr/lib/node_modules/npm/node_modules/@tufjs/models/dist/utils/verify.js
Text
Base64
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.verifySignature = void 0; const canonical_json_1 = require("@tufjs/canonical-json"); const crypto_1 = __importDefault(require("crypto")); const verifySignature = (metaDataSignedData, key, signature) => { const canonicalData = Buffer.from((0, canonical_json_1.canonicalize)(metaDataSignedData)); return crypto_1.default.verify(undefined, canonicalData, key, Buffer.from(signature, 'hex')); }; exports.verifySignature = verifySignature;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
guard.js
1.24 KB
lrw-r--r--
2026-03-09 09:08:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
1.22 KB
lrw-r--r--
2026-03-09 09:08:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
key.js
4.78 KB
lrw-r--r--
2026-03-09 09:08:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
oid.js
891 B
lrw-r--r--
2026-03-09 09:08:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
types.js
77 B
lrw-r--r--
2026-03-09 09:08:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
verify.js
667 B
lrw-r--r--
2026-03-09 09:08:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).