Files
lcbp3.np-dms.work/frontend/node_modules/@ecies/ciphers/dist/chacha/noble.js
2025-09-21 20:29:15 +07:00

13 lines
449 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.chacha20 = exports.xchacha20 = void 0;
var chacha_1 = require("@noble/ciphers/chacha");
var xchacha20 = function (key, nonce, AAD) {
return (0, chacha_1.xchacha20poly1305)(key, nonce, AAD);
};
exports.xchacha20 = xchacha20;
var chacha20 = function (key, nonce, AAD) {
return (0, chacha_1.chacha20poly1305)(key, nonce, AAD);
};
exports.chacha20 = chacha20;