Text this: Iterative sliding window method for shorter number of operations in modular exponentiation and scalar multiplication