User:Melab-1/Ciphers/Three-pass protocol implementations/Implementation 1

The cipher would be different for Parties A and B. They're different so an eavesdropper can't determine either party's secret keys.