Foxcolab

Glossary

Private key

Definition

Private key: The secret half of an asymmetric (public-key) key pair, uniquely associated with its owner and never made public. It decrypts data encrypted to the matching public key and creates digital signatures that the public key can verify.

Also known assecret key (asymmetric)private signing keydecryption key

In short

A private key is the secret half of a public-key pair. Anyone can use your public key to encrypt something for you or check your signature, but only the private key can decrypt it or make the signature. It must never leave your control unlocked: store it encrypted, plan for losing it, and check that the public key you encrypt to really belongs to the person you mean.

Key takeaways

  • The public key can be shared with anyone; the private key never should be.
  • A private key decrypts what was encrypted to its public key and creates signatures others can verify.
  • A service holding an unlocked copy of your private key can read what it protects.
  • Lose the private key with no backup and the data encrypted to it is lost too.
  • Comparing a short security code confirms you have the right person's public key.

Last reviewed 3 December 2026 by Foxcolab Team

A private key is the secret half of a key pair in public-key cryptography, the half you never share. NIST defines it as "a cryptographic key used with an asymmetric-key (public-key) cryptographic algorithm that is not made public and is uniquely associated with an entity that is authorized to use it" (NIST glossary, from SP 800-57 Part 1 Rev. 5). Its partner, the public key, can go to anyone. What the public key locks, only the private key opens; what the private key signs, anyone can check with the public key.

What a private key does#

JobHow it works
DecryptingSomeone encrypts a message's key to your public key; only your private key unwraps it
SigningYou sign with your private key; others verify with your public key
Proving who you areA server sends a challenge and checks your signature, as passkeys do

An example#

Priya wants to send Arjun a contract only he can open. She looks up Arjun's public key, encrypts the contract's key to it and sends the result. Anyone can intercept the message, but only Arjun's private key, on his device, can open it. If Arjun loses that private key with no backup, the contract is unreadable for him too.

Keeping it private#

  • Never hand it over unlocked. A service that keeps an unlocked copy of your private key can read everything it protects.
  • Lock it at rest. Store it encrypted under something only you know, such as a key made from your password.
  • Plan for loss. A lost private key means lost access, so keep a recovery key or an agreed escrow.
  • Check the public half. If an attacker swaps in their own public key, you'll encrypt to them. Comparing a short code in person catches the swap.

In Foxcolab#

Foxcolab keeps your private key yours. Foxcolab Mail and Foxcolab Drive store it only in locked form, and your browser unlocks it with your account key after you sign in, so the copy Foxcolab holds is one it can't open. Colleagues encrypt to your public key when they share a Drive folder with you or send mail from one Foxcolab user to another, which is end-to-end encrypted. In Drive's share dialog, select Code next to a person to compare security codes, then Mark as verified. If someone resets their password without their recovery key, they get new keys, their code changes and Drive warns you before you share again.

Read how your account key protects your data, or create a free account.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to