Implement HS256 signing.