HAM radio isn't allowed to have encryption. (Someone can write a longer comment on why thats wrong.)
https://n5dux.com/ham/files/pdf/Data%20Encryption%20is%20Leg...
Depends on your jurisdiction. In Canada it's allowed if you publish your keys.
https://www.rac.ca/encryption/
https://n5dux.com/ham/files/pdf/Data%20Encryption%20is%20Leg...