Needed to hash before constructing the hashshake message