ArticleslgStudy

computer science

ALTS

ALTS is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ALTS rather than just read about it. In short: Application Layer Transport Security (ALTS) is a Google-developed authentication and transport encryption system used for securing remote procedure call (RPC) within Google machines. Google started its development in 2007, as a tailored modification of TLS.

Key takeaways

  • ALTS belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ALTS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ALTS from memory before moving on to harder problems.

Reference excerpt

Application Layer Transport Security (ALTS) is a Google-developed authentication and transport encryption system used for securing remote procedure call (RPC) within Google machines. Google started its development in 2007, as a tailored modification of TLS.

Background ALTS, similar to TLS, was designed specifically for Google’s data centers and relies on two protocols, Handshake and Record. Google began developing ALTS in 2007 in order to create a security system solution for the company’s infrastructure. The ALTS whitepaper was published in December 2017. At that time the dominant Application layer protocols were SSL and TLS 1.1 (TLS 1.2 was only published as an RFC in 2008), those supported many legacy algorithms and had poor security standards. As Google was in full control over the machines that needed secure transport of RPCs, deployment of systems was relatively easy, and so Google developers could afford designing their own system from scratch. Another requirement that deemed a new system necessary is different trust models: in TLS, the server side is committed to its own domain name (and corresponding naming scheme), while Google needed the same identity (i.e. RPC) to be used with multiple naming schemes, in order to simplify microservice replication, load balancing and rescheduling between hosts.

Details

Handshake protocol The ALTS handshake protocol is based on authenticated Diffie–Hellman key exchange scheme, and supports both perfect forward secrecy (access to current keys does not compromise future security) and session resumption (noticeable speedups in the protocol after the first session between the parties). Unlike TLS, in ALTS both parties — server and client — have a certificate proving their respective identities. The certificate chains to a trusted signing service verification key, with the leaf being an Elliptic-curve Diffie–Hellman key, that is eventually used for key exchange. The elliptic curve used in the key exchange is Curve25519. The handshake protocol consists of four messages, sent in plaintext:

ClientInit, initiated by the client, and contains the client's certificate, list of available cipher suites, and a session resumption attempt; ServerInit, sent by the server as a response, and contains its own certificate, chosen cipher suite, and optionally an encrypted resumption ticket; ServerFinished, sent by the server (concatenated to the previous message in ALTS default implementation), and contains a handshake authenticator, i.e. HMAC over a known bitstring using the calculated session key; ClientFinished, sent by the client, and contains a handshake authenticator, similarly to the one in ServerFinished. Once both parties computed the session key (record protocol in the whitepaper), they can start encrypting traffic with the symmetric encryption algorithm 128-bit AES, using mostly GCM as its mode of operation. On older machines, a Google developed VCM was used. The handshake protocol was verified using the ProVerif formal verification tool.

Session resumption In order to avoid repeating computationally expensive operations, ALTS supports session resumption. The resumption tickets are created by either the server or the client, and may be used in the handshake protocol, if both parties hold the same resumption ticket, indexed by a resumption identifier. The resumption secret is used to derive the next session key, authenticator and encapsulated (independent) resumption ticket/identifier.

Perfect forward secrecy Perfect forward secrecy (PFS) is not enabled by default in ALTS; however, it is supported. Instead of using an inherent PFS algorithm, ALTS achieves PFS by frequently rotating the certificates, which have a short lifespan ( 20, or 48 minutes; see ). Moreover, if PFS is enabled, it is also enabled for session resumption, by deriving the encryption keys from the resumption ticket using a pseudorandom function.

See also Transport Layer Security QUIC Google Cloud Platform

External links ALTS White Paper

References

Worked examples

Example 1 — a first encounter with ALTS

Start with the simplest possible case. Write down what ALTS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ALTS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ALTS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ALTS

In research
ALTS appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ALTS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ALTS is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application layer protocols, Cryptographic protocols, Google, so understanding it makes those chapters shorter.
In everyday life
Look for ALTS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ALTS” →

How to study ALTS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ALTS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ALTS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ALTS in simple terms?

Application Layer Transport Security (ALTS) is a Google-developed authentication and transport encryption system used for securing remote procedure call (RPC) within Google machines. Google started its development in 2007, as a tailored modification of TLS.

Why does ALTS matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ALTS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ALTS.

Tags

  • Application layer protocols
  • Cryptographic protocols
  • Google
  • Remote procedure call
  • Transport Layer Security

Keep exploring