Text this: Constructive Side-Channel Analysis and Secure Design