惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
有赞技术团队
有赞技术团队
Vercel News
Vercel News
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
The Cloudflare Blog
B
Blog
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
U
Unit 42
D
Docker
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
A
About on SuperTechFans

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
RSME: A Reactive Stability Mutation Encryption Algorithm ...
RanggaS · 2026-04-30 · via Hacker News: Show HN

Published April 23, 2026 | Version v1

Software Open

Description

def rsme_encrypt(data, Y, P, S, M):
    # Formula: C = [(((Data * Y) - P) + Y) XOR S] MOD M
    # k = restoration constant (integer quotient)
    pre_mod = (((data * Y) - P) + Y) ^ S
    c = pre_mod % M
    k = pre_mod // M
    return c, k

def rsme_decrypt(c, k, Y, P, S, M):
    # Reverse Formula: Data = ([(C + (k * M)) XOR S] - Y + P) / Y
    x_restored = (c + (k * M)) ^ S
    data = (x_restored - Y + P) / Y
    return int(data)

# --- QUICK TEST ---
# Parameters Example:
Y, P, S, M = 5, 10, 7, 100
input_val = 123

# Encrypting
cipher, k_val = rsme_encrypt(input_val, Y, P, S, M)
print(f"Encrypted Ciphertext (C): {cipher}")
print(f"Restoration Constant (k): {k_val}")

# Decrypting
original = rsme_decrypt(cipher, k_val, Y, P, S, M)
print(f"Decrypted Result: {original}")

The Python code is just a functional demonstration of the logic. The goal is to implement this in low-level C for IoT devices.

Deterministic Mutation via PRNG

To ensure maximum memory efficiency on IoT/UAV hardware, RSME does not store static keys. Instead, it utilizes a Deterministic PRNG (Pseudo-Random Number Generator) mechanism:

•Synchronized State: Both the sender (UAV) and receiver (GCS) share a single Master Seed.

•On-the-fly Generation: Mutation parameters (Y, P, S) are generated in real-time based on a shared index.

•Zero-Key Exchange: No secret keys are transmitted over the air. Even if an attacker intercepts the metadata (k), the internal mutation state remains invisible without the Master Seed.

Here if you want to discuss about RSME:

https://news.ycombinator.com/threads?id=RanggaS

Notes

This project is open for modification and optimization. As the architect, I invite researchers and developers to refine the cryptographic formulas and implementation. All contributions that advance the 'Reactive Stability' concept are highly encouraged.

Technical info

The logic below is the C implementation of RSME for high-performance hardware (UAV/IoT).

#include <stdint.h>

typedef struct {
    uint32_t ciphertext;
    uint32_t k;
} RSME_Package;

// RSME Encryption: Optimized for speed and low CPU cycles
RSME_Package rsme_encrypt(uint32_t data, uint32_t Y, uint32_t P, uint32_t S, uint32_t M) {
    RSME_Package pkg;
    uint64_t pre_mod = ((( (uint64_t)data * Y) - P) + Y) ^ S;
    pkg.ciphertext = (uint32_t)(pre_mod % M);
    pkg.k = (uint32_t)(pre_mod / M); // The Restoration Constant
    return pkg;
}

// RSME Decryption: High-speed restoration using 'k'
uint32_t rsme_decrypt(uint32_t c, uint32_t k, uint32_t S, uint32_t M) {
    uint64_t restored = (uint64_t)c + ((uint64_t)k * M);
    return (uint32_t)(restored ^ S);
}

Files

RSME_Reactive_Encryption_Technical_Specification.pdf

Files (46.6 kB)