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) • 798 B
JavaScript
;
// 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