Implementation of HMAC (Hashed Message Authentication Code) Algorithm without importing the in-built Python Library, 'hmac'.
To use a different Hash Algorithm, change the third parameter of the hmacGenerator function from hashlib.sha256 to the preferred choice in the line 136 of the code.
signature = base64encode(hmacGenerator(key, message, hashlib.sha256).digest())
For example - hashlib.sha512, hashlib.sha1 etc.