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) 773 B
// Memory protection levels var MemoryProtectionLevel; (function (MemoryProtectionLevel) { MemoryProtectionLevel["BASIC"] = "basic"; MemoryProtectionLevel["ENHANCED"] = "enhanced"; MemoryProtectionLevel["MILITARY"] = "military"; MemoryProtectionLevel["QUANTUM_SAFE"] = "quantum_safe"; })(MemoryProtectionLevel || (MemoryProtectionLevel = {})); // Buffer state tracking var BufferState; (function (BufferState) { BufferState["UNINITIALIZED"] = "uninitialized"; BufferState["ACTIVE"] = "active"; BufferState["LOCKED"] = "locked"; BufferState["DESTROYED"] = "destroyed"; BufferState["CORRUPTED"] = "corrupted"; })(BufferState || (BufferState = {})); export { BufferState, MemoryProtectionLevel }; //# sourceMappingURL=secure-memory.js.map