Added convenience method for generating a random shared secret key value