UNPKG

fortify2-js

Version:

MOST POWERFUL JavaScript Security Library! Military-grade cryptography + 19 enhanced object methods + quantum-resistant algorithms + perfect TypeScript support. More powerful than Lodash with built-in security.

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