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

21 lines (19 loc) 798 B
'use strict'; // Memory protection levels exports.MemoryProtectionLevel = void 0; (function (MemoryProtectionLevel) { MemoryProtectionLevel["BASIC"] = "basic"; MemoryProtectionLevel["ENHANCED"] = "enhanced"; MemoryProtectionLevel["MILITARY"] = "military"; MemoryProtectionLevel["QUANTUM_SAFE"] = "quantum_safe"; })(exports.MemoryProtectionLevel || (exports.MemoryProtectionLevel = {})); // Buffer state tracking exports.BufferState = void 0; (function (BufferState) { BufferState["UNINITIALIZED"] = "uninitialized"; BufferState["ACTIVE"] = "active"; BufferState["LOCKED"] = "locked"; BufferState["DESTROYED"] = "destroyed"; BufferState["CORRUPTED"] = "corrupted"; })(exports.BufferState || (exports.BufferState = {})); //# sourceMappingURL=secure-memory.js.map