Код: Выделить всё
vardataКод: Выделить всё
hash = crypto
.createHash('md5')
.update('*salt* ' + (new Date().toISOString().substr(0, 13)) + vardata)
.digest('hex');
Код: Выделить всё
hash = hashlib
.md5(('*salt* ' + datetime.datetime.now().isoformat()[0:13] + vardata).encode('utf-8'))
.hexdigest()
Что не так?
Подробнее здесь: https://stackoverflow.com/questions/793 ... t-the-same
Мобильная версия