Tip5
Overview
Tip5 (and its predecessor Tip4Prime) is designed for the Triton VM and STARK-based proof systems. It combines a lookup-based S-box with a power map, optimized for the Goldilocks field ().
- Authors: STARK ecosystem developers
- Year: 2023
- S-box: Lookup table +
- Structure: SPN optimized for Goldilocks field
Design rationale
Tip5 targets the Goldilocks field where:
- is used as the algebraic S-box
- A lookup table of size provides additional nonlinearity
- The combination is designed for efficient evaluation in the Triton VM
Goldilocks-specific optimizations
The Goldilocks field allows:
- Fast multiplication using the special form of
- Efficient decomposition for the lookup component
- The S-box has (verified for Goldilocks)
Security considerations
The lookup table component makes pure Groebner basis analysis harder, as the lookup has no simple polynomial description. The security argument combines:
- Algebraic analysis of the component
- Statistical properties of the lookup table
- Interaction between the two nonlinear layers
References
- Tip5 specification
- Alan Szepieniec. "The Tip5 Hash Function for the Triton VM" (2023)