@phantom-core/crypto
v1.0.3
Published
Cryptographic analysis and security assessment core with algorithm validation and key management - Part of the Phantom Spire CTI Platform
Downloads
28
Maintainers
Readme
@phantom-core/crypto
Enterprise-grade cryptographic core library with secure authentication, JWT processing, and high-performance random generation. Part of the Phantom Spire CTI Platform.
Installation
npm install @phantom-core/cryptoUsage
const phantomCrypto = require('@phantom-core/crypto');
// Hash a password with enterprise-grade Argon2id
const hashResult = phantomCrypto.hash_enterprise_password('{"password": "your_password"}', 'high');
// Generate secure JWT tokens
const jwtResult = phantomCrypto.create_enterprise_jwt_token('{"user_id": "user123", "role": "admin"}', 'secure');
// Generate cryptographically secure random tokens
const tokenResult = phantomCrypto.generate_enterprise_token('{"length": 32}', 'secure');Repository
- GitHub: https://github.com/defendr-ai/phantom.core-crypto
- NPM Package: @phantom-core/crypto
License
MIT
