def generateHotpKey(self, secretKey, movingFactor): digits = self.hotpConfiguration["digits"] hotp = HOTP.key(secretKey).digits(digits).movingFactor( movingFactor).build() return hotp.value()
def generateHotpKey(self, secretKey, movingFactor): digits = self.hotpConfiguration["digits"] hotp = HOTP.key(secretKey).digits(digits).movingFactor(movingFactor).build() return hotp.value()