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
42 lines (39 loc) • 918 B
JavaScript
;
/**
* Type definitions for SecureString modular architecture
*/
/**
* Default options for SecureString
*/
const DEFAULT_SECURE_STRING_OPTIONS = {
protectionLevel: "basic",
enableEncryption: false,
enableFragmentation: false,
enableCanaries: false,
enableObfuscation: false,
autoLock: false,
quantumSafe: false,
encoding: "utf-8",
enableMemoryTracking: true,
};
/**
* Default search options
*/
const DEFAULT_SEARCH_OPTIONS = {
caseSensitive: true,
wholeWord: false,
startPosition: 0,
endPosition: -1,
};
/**
* Default split options
*/
const DEFAULT_SPLIT_OPTIONS = {
limit: -1,
removeEmpty: false,
trim: false,
};
exports.DEFAULT_SEARCH_OPTIONS = DEFAULT_SEARCH_OPTIONS;
exports.DEFAULT_SECURE_STRING_OPTIONS = DEFAULT_SECURE_STRING_OPTIONS;
exports.DEFAULT_SPLIT_OPTIONS = DEFAULT_SPLIT_OPTIONS;
//# sourceMappingURL=index.js.map