New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@sunhex/protocol

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sunhex/protocol

The official SunHex Quantum Protocol SDK for decentralized identity.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

@sunhex/protocol SDK

The official SunHex Quantum Protocol SDK for decentralized, stateless identity resolution.

Installation

npm install @sunhex/protocol

Quick Start

1. Local Resolution (Edge-native)

Resolution happens entirely on your machine. No data ever touches the SunHex servers.

import { SunHex } from '@sunhex/protocol';

const sunhex = new SunHex();

// Resolve a Quantum Fragment
const identity = await sunhex.resolveLocal(
  "01A7F2D...", // The Fragment
  "1234"        // User Private PIN
);

console.log(identity.firstName); // "Abdelhakim"

2. Crystallization (Fragment Generation)

Securely pack and encrypt biological data into a stateless code.

const fragment = await sunhex.crystallizeLocal({
  firstName: "Jane",
  lastName: "Doe",
  countryCode: "US",
  birthYear: 1995,
  birthMonth: 5,
  birthDay: 12,
  gender: "Female"
}, "pin_secret_99");

console.log(fragment); // "02F9A12..."

Security Mandate

This SDK uses the Web Crypto API to ensure hardware-accelerated, secure operations:

  • Encryption: AES-256-GCM (Authenticated Encryption)
  • Key Derivation: PBKDF2-SHA256 (100,000 Iterations)
  • Serialization: Compact bit-packing binary protocol.

Vision

SunHex aims to eliminate "Identity Honeypots" by giving users total sovereignty over their biological data. We don't store—we compute.

Developed by Abdelhakim Sahifa.

Repository SunHex-sdk.

Documentation Documentation.

Keywords

sunhex

FAQs

Package last updated on 20 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts