(a_pu_k, b_pr_k, p)
return pow(a_pu_k, b_pr_k) % p
Bob calculate secret key shared with Alice,
    with his private key and Alice's public key.
    This must be kept in secret
Bob calculate secret key shared with Alice,
    with his private key and Alice's public key.
    This must be kept in secret
Bob calculate secret key shared with Alice with his private key and Alice s public key . This must be kept in secret
def bob_shared_key(a_pu_k, b_pr_k, p):
    """ Bob calculate secret key shared with Alice,
    with his private key and Alice's public key.
    This must be kept in secret"""
    return pow(a_pu_k, b_pr_k) % p
def bob_shared_key ( a_pu_k , b_pr_k , p ) : return pow ( a_pu_k , b_pr_k ) % p