XOR
Encrypt/Decrypt with XOR Security
const { NXor } = require('nexium-security')
const input = '{"user":{"name":"John","age":30},"message":"Welcome!"}'
const key = 'mySecureKey'
const encrypted = NXor.encrypt(input, key)
const decrypted = NXor.decrypt<{ name: string }>(encrypted, key)