UNPKG

xypriss-security

Version:

XyPriss Security is an advanced JavaScript security library designed for enterprise applications. It provides military-grade encryption, secure data structures, quantum-resistant cryptography, and comprehensive security utilities for modern web applicatio

68 lines (64 loc) 2.78 kB
'use strict'; var secureArrayCore = require('./core/secure-array-core.js'); require('../../utils/memory/index.js'); require('crypto'); require('../../types/secure-memory.js'); require('../secure-string/advanced/entropy-analyzer.js'); require('../secure-string/advanced/quantum-safe.js'); require('../secure-string/advanced/performance-monitor.js'); require('../../core/hash/hash-core.js'); require('../../core/hash/hash-types.js'); require('../../core/hash/hash-security.js'); require('../../core/hash/hash-advanced.js'); require('../../algorithms/hash-algorithms.js'); require('../../core/random/random-types.js'); require('../../core/random/random-sources.js'); require('nehonix-uri-processor'); require('../../types.js'); require('../../core/random/random-security.js'); require('nehoid'); var idGenerator = require('./utils/id-generator.js'); /*************************************************************************** * XyPrissSecurity - Secure Array Main Export * * This file contains the main exports for the SecureArray module * * @author Nehonix * * @license MIT * * Copyright (c) 2025 Nehonix. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. ***************************************************************************** */ /** * Main export file for SecureArray */ // Import the main SecureArray class /** * Creates a SecureArray with initial data */ function createSecureArray(initialData, options) { return new secureArrayCore.SecureArray(initialData, options); } exports.SecureArray = secureArrayCore.SecureArray; exports.default = secureArrayCore.SecureArray; exports.ArrayIdGenerator = idGenerator.ArrayIdGenerator; exports.createSecureArray = createSecureArray; //# sourceMappingURL=index.js.map