Show HN: Twoway, a Go package for HPKE encrypted request-response flows

Show HN (score: 5)
Found: October 08, 2025
ID: 1780

Description

API/SDK
Show HN: Twoway, a Go package for HPKE encrypted request-response flows Hey HN,

I'm Willem from Confident Security, we've built CONFSEC, a provably private AI inference engine. Today, we're excited to open-source twoway: https://github.com/confidentsecurity/twoway

twoway is a Go package that makes it easy to implement secure, encrypted request-response flows. It powers CONFSEC's blind prompt handling, ensuring no one, not even us, can see client requests.

We built twoway on Cloudflare's circl/hpke, it uses Hybrid Public key Encryption to implement two flows: - A one-to-one flow where a sender communicates with a single receiver. This flow is fully compatible with RFC 9458 Oblivious HTTP (OHTTP), and the chunked OHTTP draft RFC. - A one-to-many flow where a sender communicates with one or more receivers. Similar to the Apple's PCC's request flow.

Other features include: - Compatibility with any transport, twoway deals with just the messages. - Chunked messages. - Allows for custom HPKE implementations for specialized needs like cryptographic hardware modules.

Our README has clear examples to get you started, all you need to do is go get and try an encrypted "Hello world" exchange.

Our team will be popping in to answer questions, we'd love to hear your feedback.

Cheers! Willem

More from Show

Show HN: Widen – Open-source Mac Postgres GUI with local or cloud text-to-SQL

Show HN: Widen – Open-source Mac Postgres GUI with local or cloud text-to-SQL Github: <a href="https:&#x2F;&#x2F;github.com&#x2F;betocmn&#x2F;widen" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;betocmn&#x2F;widen</a><p>I was paying for DataGrip for several years as my desktop database GUI but if I wanted text-to-SQL with LLMs I&#x27;d have to pay even more on top. So I decided to build my own and I&#x27;ve been using it for a few weeks now.<p>At any time I&#x27;m usually working with 3 to 6 databases, and having them set up in something like Conductor (for parallel agentic coding), but for Postgres databases, lets me quickly start a session, ask questions to my database in plain English, get a data export, move on and close the session. It&#x27;s been working well and I thought I would share it here.<p>It&#x27;s a native Mac app (Swift), free and open source (MIT). For the LLM you bring your own OpenRouter key, or there&#x27;s an experimental on-device mode using Apple&#x27;s local model, where nothing leaves your Mac. Cloud mode only sends the question and schema metadata, not your data, unless you explicitly turn that on per connection.

Show HN: Play SNES, gba, in your terminal, even in tmux

Show HN: Play SNES, gba, in your terminal, even in tmux rom is a ~5k-line C libretro frontend that plays games in the terminal. It renders native pixels with the kitty graphics protocol in Ghostty or kitty, inline! even in tmux!<p>Nine platforms: SNES, NES, GB&#x2F;GBC, GBA, Genesis, PC Engine, N64, Doom&#x2F;Heretic&#x2F;Hexen, Wolfenstein. macOS and Linux, MIT.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jhickner&#x2F;rom" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jhickner&#x2F;rom</a>

No other tools from this source yet.