How I Built the App to Make Sure I Don't Know Who You Are

· 12 min read

Also in: 日本語한국어简体中文PortuguêsEspañolFrançaisDeutschРусский

Using a voice changer or an AI voice to sound like a different gender is socially sensitive if someone finds out. In VRChat and other social games, lots of people play an avatar that doesn't match the voice they were born with, and it goes both ways. But being found out, who you really are or that you use something like this, can cost you socially. In Japan there's a word for it, 身バレ (mibare), your real identity getting found out online. So protecting your identity is extremely important, and that's where this whole thing starts.

People also use an app like this in social settings, in private conversations that nobody else should be able to get at, including me. So I built everything with privacy and security at the top of the list. I've spent a good part of my career building platforms where GDPR and SOC 2 were part of the job, so I know how much effort it takes to build truly secure, privacy-preserving software. This post is how privacy and security work in the actual app. The first part is the plain version. The rest is the detail, with the flows and the API calls, so anyone building something like this can check it or copy it.

My philosophy on building a voice changer with world class privacy and security

The test behind all of it

If someone put a gun to my head and told me to hand over your conversations, could I? The answer has to be that I can't. A system isn't secure if it relies on a human staying trustworthy to keep it that way. The design has to make sure private data never gets stored in the first place.

Signal runs on the same idea. When a court asks them for a user's data, all they can produce is when the account was made and when it last connected, because that's all they have. I went one step further: I don't even collect your email address. Everything below is one piece of making that true.

I don't want to know who you are

Most apps start by asking for an email and a password. I started from the other end. I don't collect an email anywhere, and there is no sign-in screen. There isn't even a column in my database to put an email in. So if my servers were hacked into, if a government ordered me to hand them over, or if I went looking myself, there would be no email, no name and no contact details to find, and no conversations in text or audio form to listen to.

On the direct version, the app makes an anonymous account the first time it runs. That account is a random id. The token that proves it's yours is saved on your PC, encrypted with Windows' own data protection, in two places in case one gets corrupted. Your credits are tied to that id and that PC. If you lose the PC you lose the balance, and I accepted that trade, because the only way to recover it would be asking for an email.

On Steam, Steam signs you in with a ticket and what I get back is your Steam ID, a number. Steam knows who you are. I don't, and I don't ask Steam for your name or anything else about you.

The two versions get there differently, and they pay differently too, so here's both side by side. Either way, everything ties to one anonymous id in the middle.

Direct download and Steam: sign-in, paying and usage all tie to one anonymous id Direct download: on first launch the app makes a random id, and its token is kept encrypted on your PC. Steam: on first launch Steam gives the app a ticket, and my server asks Steam for a Steam ID, just a number. Both lead to one anonymous id on my server: a random id or the Steam ID, with no name and no email. Using the app counts seconds against that id. Buying credits feeds into it from below: Stripe checkout, where your email and card stay, or your Steam wallet, where your details stay, both send my server the same thing, the pack, the amount and a reference, and the credits land on the id. DIRECT DOWNLOAD STEAM First launchThe app makes a random id First launchA ticket from Steam On your PCThe id's token, encrypted My server asks SteamA Steam ID, just a number One anonymous id on my serverA random id or the Steam ID. No name, no email. Back to my serverPack, amount, reference Using the appSeconds used, and when BUY CREDITS Stripe checkoutEmail, card stay at Stripe Steam walletYour details stay at Steam
Drawn from the sign-in and purchase code. Sign-in from above, buying credits and using the app from below, all on one anonymous id. Both ways of paying send my server the same thing. Steam or Stripe hold the person.

When you buy something, the payment company has to know you. Stripe takes an email for the receipt. Steam takes it through your Steam wallet. What comes back to my server is a confirmation: which pack, how much, and the processor's reference number. That's what my database holds. Referral codes work the same way. A code points at an anonymous id, never at a person.

Who knows what Your PC holds an anonymous id, encrypted. Steam or Stripe hold your name, email and card. My servers get your token from your PC, and from Steam or Stripe only a Steam ID or a paid confirmation with the pack and amount. My servers hold an anonymous id or a Steam ID, your balance and the seconds you used. No email, no name. WHO KNOWS WHAT Your PCAn anonymous id, encrypted Steam or StripeYour name, email, card your token a Steam ID, or"paid: pack, amount" My serversAnonymous id or Steam ID, balance, seconds usedNo email. No name. No column for one. Your email never crosses to my side. Stripe keeps the receipt on its side.
Drawn from the sign-in and purchase code. The two arrows are the only things that cross.

The app also sends nothing that would identify your PC. No Windows username, no machine name, no hardware id. I went through every outgoing call to check.

Nothing you say is stored

Unless you run the offline mode, which stays on your own graphics card, your voice goes through servers, because the models are too heavy for most cards. AI Voice turns your speech into text and the text into a new voice. Voice Changer sends your voice to a GPU server that sends it back as the voice you picked. In both cases the audio is processed while it's in flight and returned. No step along the way writes it to disk. The one thing held at all is on the GPU server: the last 2.5 seconds of your audio stay in its memory for up to five minutes, so the pitch it measured carries into your next hold. Memory only, never disk, filed under your anonymous id, never a name.

The same goes for a recording you make to create a custom voice. It travels inside one request to design the new voice, and I keep nothing of it on my side: no file, no row, not even a hash.

One hold of the talk key Your mic goes to the app, which holds only your session token. The app sends the audio to the CDN edge, where my code checks the token and meters the seconds. The edge forwards it to the online voice model, or to a GPU server for the voice changer, with logging off. The result streams back to your game. Right after, the history item and transcript are deleted at the provider. 1Your micWhile you hold the key 2The appHolds your token, no key 3CDN edgeChecks token, meters seconds 4Online voice modelLogging off. Or a GPU server 5Your gameStreams back as it's made Deleteright after No step keeps a copy. The GPU server gets an anonymous id, never your token.
One hold of the talk key, from the code that handles it. Step 4 is the only third party, and it's told not to log.

The part most people don't think about is the voice provider. Speech models run on a third party's servers, and by default those services keep a history of everything they generate, so their customers can replay it in a dashboard. That's useful for most of their customers. For a voice changer it's the first thing to turn off.

The exact calls

This part is for people building something similar. If that's not you, the short version is that I tell the provider not to keep anything, and I delete behind it anyway.

Every text to speech and speech to speech request I send carries one query parameter, `enable_logging=false`. The provider calls it zero retention mode. The request is processed and never enters their history. If you're building anything like this, that parameter is mandatory, and it's not the default.

It wasn't enough on its own, for two reasons I found the hard way.

First, speech to text. Most people building a feature like this, or running their own speech to text account with a provider, don't get to turn logging off there at all. The option isn't offered on most plans, and that's a real privacy concern, because every transcript then sits in the provider's history by default. I address it in the app directly, so nothing is kept: the moment a transcript comes back, my server deletes it by id.

Second, a flag can fail silently. In July, before I released the app to the public, a code change sent `enable_logging` in the request body instead of the URL. The provider ignored it without an error, and I caught it in my own testing, when I opened their dashboard and found a history. I fixed it the same day, and then I added a sweep so it can never happen quietly again: after every generation, my server deletes that generation's history item by id, whether or not the flag worked. If the flag was honored, there's nothing to delete and that's fine. If it wasn't, the item is gone seconds after it was made.

Every generation
?enable_logging=falseZero retention mode. Nothing enters the provider's history.
After every generation
DELETE /v1/history/{history_item_id}The sweep, in case the flag was ignored.
After every transcript
DELETE /v1/speech-to-text/transcripts/{transcription_id}Most plans can't turn logging off here, so it's deleted right after.
Live transcription
?token={single_use}&enable_logging=falseA token my server mints for one session, on the socket the app opens.
The four calls, as my servers send them. The sweep runs in the background so it never adds delay.

Realtime transcription, where your words show up while you're still talking, uses a different trick. My server mints a single use token for your session, and the app opens the socket with that token and `enable_logging=false`. The token works once, for transcription only, and it expires. A live socket returns no id to delete afterwards, so that one leg rests on the flag alone.

A secure handshake with the voice models

The reason all of that is enforceable is where the credentials for the voice provider live. The API key never ships in the app. It lives as a secret on my servers, and the app only ever talks to them.

I've seen voice apps call a provider straight from the client with the key baked into the program. Pulling a string out of an exe takes minutes. Anyone who does it can read that account's whole history, generate on its bill, and if logging was left on, listen to other people's conversations. The key is the thing that makes the retention settings mean something, so it can't be anywhere a customer's PC can reach.

Where the key lives Your PC holds your session token and nothing else. My servers at the edge hold the provider key as a secret and forward your audio. The online voice model sees the audio and the key, never your account. For live transcription only, my server mints a single use token so the app can open a socket to the provider directly, still without the key. WHERE THE KEY LIVES Your PCHolds your session token token + audio My serversHold the provider key key + audio Online voice modelSees audio, never your account Live transcription onlyA single use token, mintedby my server for one session The key is never on a customer's PC.
The app never holds a provider key. The one direct connection it opens uses a token that works once.

So the rule I follow, and the one I'd give anyone building this: the client gets a token that proves it's you, and only your server holds the vendor key. Never call the provider straight from the client with the real key, even for a prototype.

A VPN between you and my servers

Your computer never connects to my servers directly. It goes through a VPN-style network first (a CDN, to be precise), and that network's edge is where my code runs. That code checks your token, meters your seconds, and forwards the audio to the voice model or to a GPU server.

Part of the reason is speed, since the edge is close to you wherever you are. The bigger part is privacy and security. There is also a server in Asia. Players there get the voice changer and the Fast voice handled on it, so their audio doesn't cross the Pacific, and no US server can intercept it. The GPU servers have no public address the app knows about. They reach the edge through a tunnel. The edge checks and meters with your token, and a box only ever gets an anonymous id, so it can keep your pitch read between holds. It never gets the token, and never anything that names you. If a box were ever compromised, there would be audio passing through memory and an anonymous number.

What I do keep

I'm not going to pretend I keep nothing. Here's the honest list, so you can judge it.

On my serversNever, anywhere
An anonymous id, or your Steam IDYour email or name
Credit balance and purchases: pack, amount, referenceYour card or address
Seconds used per feature, and whenYour voice, in any form
App version, Windows version, language, approximate countryWhat was transcribed
The voice, mode and tone you had onWhat you typed to say
Crash reports: the error, the stack, your audio device namesYour IP, Windows username or machine name
Country comes from the CDN's view of your connection, never from an address I store.

The website keeps one anonymous row per page view, with a one way hashed version of your connection address and an approximate location, so I know which countries to translate for. It's all in the privacy policy, in plain language.

If you contact me

The only way I would know who you are is if you email me yourself. If you join my Discord, I still don't know who you are. A Discord name isn't connected to anything in the app, and I don't try to connect it.

Two things you can send me from inside the app, both on purpose. If you ask a question in the Help tab, it goes to an AI model to answer it, without your id, and I keep the question so I can see what people get stuck on. If you send feedback, I keep the message, along with the names of your audio devices, because most problems turn out to be a mic or a cable. That's the one text of yours I can read, and you wrote it to me. Feedback I treat as generic wherever I can. I want to hold as little information about anyone as possible, so there's as little as possible to protect, and so your privacy is respected.

The companies I rely on

I can't run speech models, a database, a CDN and payments myself, so a few companies see pieces of this. Each one gets only what it needs. The voice provider gets audio and text, with logging off. The rented GPU servers get audio and text, in memory. The database host gets the anonymous ids, balances and events. The CDN sees the connection, which is what a CDN is for. The crash reporter gets errors. Stripe and Steam get the payment. None of them gets a name or an email from me, and none of them can put a name to an id. The live camera is the one exception to the CDN rule: your video goes to the video partner directly and never through my servers, and the privacy policy spells that out.

When I pick one, I look for three things. A way to turn retention off, or an API to delete what they processed. A written promise not to train on customer data. And a security audit I can read, the kind SOC 2 produces. If a company can't give me the first one, I don't use it for anything that touches your voice.

What it costs me

Doing it this way costs me a few things. No email means no recovery when a PC dies, and no way to tell anyone about an update. No history means that when a voice comes out wrong, I can't replay it to see why. I only have timings and counts, and whatever you tell me. That's a trade I'm fine with.