implement session key if shared key is shorter than 64 bytes