Implement operator bool for cryptographic primitives
Create class AddFriendDialog