Algorithm 7. Linking encrypted vectors with public context.