# Ethereum prototype stores an encrypted PIN fingerprint in a smart account

Published 2026-11-19 · Crypto.world Team · Crypto.world

> A research prototype on Sepolia uses threshold encryption to let a smart account check PIN guesses while keeping the PIN fingerprint encrypted. Its design adds guess limits, spending rules and a delayed escape, but remains unaudited and testnet-only.

## Encrypted checks inside the account

A Sepolia research prototype lets an [Ethereum](https://ethresear.ch/t/encrypted-account-a-pin-that-lives-in-the-contract/26265) smart account check PIN guesses without exposing the encrypted PIN fingerprint, according to a post published Nov. 18 by its designer, Himess. Its design uses Zama’s threshold FHE to encrypt a PIN fingerprint stored by the contract; the client keeps the PIN on the device.

The system counts each attempt before its result can be decrypted, a mechanism the post says is intended to prevent offline checking and restrict online guessing. The client derives the fingerprint with Argon2id and a salt tied to the chain and account, then stores its encrypted form. Each challenge is bound to an operation’s content, and anyone can relay the threshold network’s signed result to finalize a guess.

The post’s simulation gives a maximum of 12 guesses in 30 days if the owner takes no action. A correct guess starts a delay before the requested operation can execute; an incorrect one remains on the account’s guess score and triggers a back-off.

## Spending rules and recovery

Under the described rules, the key alone can pay known recipients up to a daily per-asset limit. A new recipient, a large payment or an arbitrary call instead requires the PIN and a delay: one hour by default, or 48 hours for large amounts and arbitrary calls.

The design includes an escape that the key alone can start, cancelling pending operations and fixing an address selected in advance for the eventual transfer. Funds can be swept to that address after a default delay of 30 days. The escape path does not rely on FHE, according to the post.

A recovery path would let an owner propose a replacement key using the PIN, with execution after seven days, or 30 days if a registered second device did not co-sign. Guesses made without the second device’s co-signature must carry an ETH bond that doubles with each wrong guess; the bond remains in the account after a miss. Guesses co-signed by a second device or recovery helper do not carry a bond.

## Measurements and caveats

The post reports that on Sepolia, a PIN-verified transfer uses approximately 2.7 million gas, while a key-only transfer with encrypted lists and a limit uses about 1.76 million gas. A variant with public lists and limits uses about 60,000 gas, according to the same measurements.

The listed end-to-end PIN flow had a median of 24.4 seconds and a 95th-percentile time of 47.7 seconds across 30 desktop-client measurements. The author describes the project as a research prototype that is unaudited, testnet-only and released under the MIT license.

The author identifies Zama’s threshold network and its governance as trust dependencies, and says confidentiality would fail if five of its 13 nodes colluded. In open mode, balances, amounts and recipients remain public, and entering the key and PIN in the same browser could expose both to a compromised front end. A private mode using ERC-7984 tokens is described as in progress.

## Sources

1. Original source [Ethereum Research](https://ethresear.ch/t/encrypted-account-a-pin-that-lives-in-the-contract/26265) ethresear.ch

## Related stories

- [Lido Seeks Proposals for Isolated Ethereum Validator Signers](https://crypto.world/news/lido-seeks-isolated-ethereum-validator-signers)
- [Preprint proposes one-transaction proofs for Ethereum quantum migration](https://crypto.world/news/researchers-propose-one-transaction-proofs-ethereum-quantum-migration)
- [Ethereum IoT preprint finds batched ECDSA costs 8,963 gas per record](https://crypto.world/news/ethereum-iot-authentication-cost-study-pectra-fusaka)
- [Ethereum developers weigh Glamsterdam spec changes that could push activation to May 2027](https://crypto.world/news/ethereum-glamsterdam-upgrade-could-slip-to-may-2027)
- [Judge acquits Peraire-Bueno brothers in $25M Ethereum case](https://crypto.world/news/judge-acquits-peraire-bueno-brothers-ethereum-case)

## Explore

[More articles](https://crypto.world/news)

---

Canonical: https://crypto.world/news/ethereum-prototype-encrypted-pin-smart-account
