# Algorithms

COMP128-1 – original algorithm with known weaknesses&#x20;

COMP128-2 – stronger algorithm which still clears the 10 rightmost bits of Kc&#x20;

COMP128-3 – same algorithm as COMP128-2 with all 64 bits of Kc generated&#x20;

COMP128-4 – based on the 3GPP (3rd Generation Partnership Project) algorithm “Milenage”, which uses AES


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sim-cards.learn-telecom.com/technology/algorithms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
