fix docstrings for hash and difie-hellman