Yahalom implementation on python+flask
- gen num Ra
- send to Bob with own id
- gen Rb
- add Rb to recieved message
- chiper with Bob/Trent common key
- adding own id to message
- send message to Trent
- gen seanse key
- create message with seanse key, Ra, Rb,
- chiper message with Alice/Trent common key
- send message to Bob with own id
- create message with Alice id and seanse key
- chiper with Bob/Trent common key
- send with message to Alice
- fcompare Ra from first message with own Ra
- if comparing success, send to Bob second message from Trent, chiphered by seanse key
- get from message seanse key
- decrypt message, containing Rb
- compare Rb with own Rb