def sign()

in functions/source/SmtpPasswordGenerator/handler.py [0:0]


def sign(key, msg):
    return hmac.new(key, msg.encode('utf-8'), hashlib.sha256).digest()