Zhen Kong (Ryan)
- Professional Member of IEEE
- Email: ryankung@ieee.org
- Twitter: @Elder24601
- GitHub: RyanKung
- Hugging Face: ElderRyan
Research Interests
- zk-SNARKs, recursive proofs, folding schemes, and incrementally verifiable computation (IVC)
- Homomorphic encryption, secure multiparty computation (MPC), threshold signatures, and elliptic-curve cryptography
- Formal verification, model checking, protocol invariants, safety, and liveness
- Distributed hash tables (DHTs), Chord stabilization, churn resilience, and Sybil resistance
- Onion routing and decentralized identity
- Type systems, algebraic effects, monads, and Kleisli composition
Publication
Rust Chinese Community, RustPrimer, ver. 1.1.0, May 2, 2016. Online book; contributor: Ryan Kung.
R. J. Kung, “Rings: An Algebraic Structured Peer-to-Peer Network for Decentralized Identity and Resource Ownership,” white paper, Feb. 8, 2023; revised Jul. 4, 2026.
R. J. Kung, “The DRanking Protocol: Verifiable Distributed Ranking and Sybil-Bounded Admission for Structured Peer-to-Peer Networks,” technical manuscript, Feb. 11, 2023; rewritten Aug. 31, 2026; revised Sep. 1, 2026.
R. J. Kung, “Range-Proved Finger Convergence: Bounded Chord Finger Maintenance under Transport Admission and Browser Churn,” technical manuscript, Sep. 15, 2026.
R. J. Kung, “Onion Kleisli Pipelines: Circuits as Client-Sealed Loops of Registered Operation Symbols,” technical manuscript, Sep. 24, 2026.
R. J. Kung, “Durable Records: One Presence and Survival Law for the Local Stores of a Rings Node,” technical manuscript, Oct. 23, 2026.
R. J. Kung, “Removal Stability: Eviction, Tombstone Bounds and Heartbeats for the Data Topics of Rings,” technical manuscript, Oct. 24, 2026.
R. J. Kung, “Load Bounds: Node, Edge and Lane Accounting for a Rings Node under Free Identities,” technical manuscript, Oct. 25, 2026.
Rings Network Engineering, “Non-Transitive Chord: Bounded Multi-Predecessor Stabilization and Gap-Bridge Delegation over Restricted WebRTC Graphs,” formal specification and verification note, n.d.
Works & Projects
Rings — Founder of a structured peer-to-peer network for native and browser runtimes. The system combines a Chord DHT, decentralized identities, and WebRTC transport with onion routing and bounded resource accounting. Its implementation separates protocol state machines from I/O and uses model checking to examine Chord rejoin behavior.
LispM — An environment for AI agents built on GNU Emacs, combining an agent runtime, a desktop workspace, and a WebKit browser. Conversations and context are Org documents, tools are Emacs Lisp functions, and memory is stored in Org files under Git. The Agent, Desktop, and Browser components run independently and can be composed through LispM Desktop.
Rotom — A local gateway that exposes multiple model providers through OpenAI- and Anthropic-compatible APIs. It supports streaming, tool calls, structured outputs, model discovery, and configurable aliases. Provider authentication and credential refresh are handled centrally, allowing compatible SDKs and development tools to access different models through the same local service.
zksm83 — An experimental proof system for the Game Boy’s SM83 processor. It produces verifiable receipts for modeled CPU and device execution using lookup arguments, sumcheck, and lattice-based polynomial commitments, with longer executions divided into verifiable segments. The proof covers CPU-visible state and device behavior; framebuffer rendering and generated audio remain outside its scope.
zkfly — A Rust research project combining a deterministic sparse representation of the MaleCNS v1.0 connectome with verifiable computation. It uses Poseidon topology commitments and Nova recursive proofs for bounded weighted-forward computations with private weights and vectors. Selected arithmetic is dispatched through a CUDA Rust backend; the current proving experiments use small fixtures rather than a complete connectome simulation.
Klefki — A Python research library built around algebraic representations of finite fields and elliptic-curve groups. It provides pairing and R1CS examples, secret-sharing primitives, and key/signature operations for studying multiparty computation, zero-knowledge protocols, and blockchain cryptography.
ExchangeableToken — Solidity extensions that integrate exchange operations into ERC20, ERC721, and ERC827 token contracts. The interfaces expose bid and ask submission, price-based order matching, order execution, and cancellation, allowing trading behavior to be implemented within the token contract.
AlphaTown — An experimental social environment presented as a two-dimensional virtual world in the browser. It explored online interaction through a shared virtual city.
hogwarts — An experimental learning-router project written in Clojure. Its public prototype uses Ring and Jetty for HTTP handling and Enlive for HTML templates.
CardKit — A mobile web UI framework organized around cards, units, and reusable components. It provides JavaScript, CSS, and template building blocks for touch-oriented interfaces and adapting websites into native-like mobile web applications.
Stack / Stack-cli — A Python development toolchain for isolated interpreter setup, dependency installation, project scaffolding, testing, coverage, and Git-based deployment. Its stackfile mechanism exposes project-specific commands through decorators, with additional support for documentation generation and remote command invocation.
pWSGI — An adapter for running existing WSGI applications, including Flask and Django, through Pulsar’s asynchronous server infrastructure. It provides command-line application loading, configurable worker and concurrency settings, and a Flask-like routing interface built around a
BluePrintobject.rc4-python3 — A Python 3 implementation of the RC4 stream cipher, packaged with importable encryption and decryption functions. It also exposes the
pyrc4command-line interface for invoking the same operations.fn-compose — A Python library for expressing function composition through the
@operator. It combines decorated callables with%-based partial application and iterable pipelines, allowing small functions to be assembled into reusable transformations.shadowsocks4blackberry — A QNX/BlackBerry port of the C implementation shadowsocks-libev. The repository includes a cross-compilation script using the BlackBerry Native SDK, the QNX
qcctoolchain, and an ARMv7 target.
Models
DADOES — A compact Rust model for multilabel mood classification of English text, using hashed features and a linear sigmoid classifier. It runs locally from a 1.7 MB checkpoint and provides library, CLI, and training interfaces without Python, PyTorch, or a GPU. Its evaluation records uneven performance across labels and incomplete supervised test coverage for some moods.
Psycial — An experimental English-text classifier combining TF-IDF features and MiniLM embeddings in a multitask neural network. Implemented in Rust with PyTorch bindings, it predicts the four MBTI dimensions through separate classification heads. Its predictions are intended for research and entertainment, with limitations from class imbalance, forum-data bias, and the scientific validity of MBTI.
Contributed
- Tensorflow – Computation using data flow graphs for scalable machine learning
- Bitcoin —— Bitcoin Core integration/staging tree
- Werkzeug —— A flexible WSGI implementation and toolkit
- pulsar – A scalable async network framework implementation of CSP
- symon – Tiny graphical system monitor for Emacs