ed25519_enc
Version:
A Rust and Node.js library that facilitates secure encryption and decryption by converting Ed25519 keys to X25519 keys. It utilizes elliptic-curve Diffie-Hellman (ECDH) to derive a shared secret, which is then used for symmetric encryption with AES-256-GC
19 lines (18 loc) • 810 B
JavaScript
;
// This module loads the platform-specific build of the addon on
// the current system. The supported platforms are registered in
// the `platforms` object below, whose entries can be managed by
// by the Neon CLI:
//
// https://www.npmjs.com/package/@neon-rs/cli
Object.defineProperty(exports, "__esModule", { value: true });
module.exports = require('@neon-rs/load').proxy({
platforms: {
'win32-x64-msvc': () => require('@ed25519_enc/win32-x64-msvc'),
'darwin-x64': () => require('@ed25519_enc/darwin-x64'),
'darwin-arm64': () => require('@ed25519_enc/darwin-arm64'),
'linux-x64-gnu': () => require('@ed25519_enc/linux-x64-gnu'),
'linux-arm64-gnu': () => require('@ed25519_enc/linux-arm64-gnu')
},
debug: () => require('../index.node')
});