handshake base encoded