@xero what's 'd' ?

EDIT: nvm thanks for fixing it

@wolf480pl a secret integer. both sides of the exchange generate them the same way. but with different values
@xero
but it doesn't appear anywhere else, and later the shared secret is g^(ab) not g^(db)