Added AES encryption when sharing secure key for connection