xypriss-security
Version:
Advanced High-Performance Security Framework. Military-grade encryption, post-quantum resilience, and fortified data structures.
46 lines • 1.12 kB
JavaScript
;
/**
* Constants used throughout the library
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.C = exports.CHAR_SETS = void 0;
/**
* Character sets for token generation
*/
exports.CHAR_SETS = {
/**
* Uppercase letters
*/
UPPERCASE: "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
/**
* Lowercase letters
*/
LOWERCASE: "abcdefghijklmnopqrstuvwxyz",
/**
* Numeric characters
*/
NUMBERS: "0123456789",
/**
* Special symbols
*/
SYMBOLS: "!@#$%^&*()_+-=[]{}|;:,.<>?",
/**
* Similar characters that can be confused
*/
SIMILAR_CHARS: "il1Lo0O",
RSIMILAR_CHARS: /[il1Lo0O]/g,
/**
* Base58 alphabet (Bitcoin style, no similar characters)
*/
B58: "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",
/**
* Charset for gen pass
*/
GenP: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
/**
* Base32 alphabet (RFC 4648)
*/
B32: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
};
exports.C = exports.CHAR_SETS;
//# sourceMappingURL=constants.js.map