I was able to set up a wifi hotspot using the following:
nmcli dev wifi hotspot ifname wlp8s0 ssid adam password "password"
But how do I encrypt the password and select the cipher that is used?
Looking at the file
It is almost identical to the one corresponding to the wifi connection provided by my ISP, but when I connect to the hotspot with another computer, it says that it is unencrypted.
Also, I am unable to connect to the hot spot with any of my android devices.