简体   繁体   English

带有运算符+的md5哈希

[英]md5 hash with operator + inside

For an api, I need to get md5(md5(text)+timeUNIX) so I made this in php : 对于api,我需要获取md5(md5(text)+timeUNIX)所以我在php中做了此:

md5((md5(123456789)+1498740101);

But it returns ceac5623c9b370f9581d4f61764c5b6d and I know that this hash with this time and this text is dbbc59e0b318fb9a4e64fc175644bf92 . 但是它返回ceac5623c9b370f9581d4f61764c5b6d ,我知道这次的哈希值和此文本是dbbc59e0b318fb9a4e64fc175644bf92

Does someone know? 有人知道吗 is there any issues/problems with the operator + in md5's function ? md5的功能中的运算符+是否有任何问题/问题?

This is the answer to your question md5((md5(123456789).(1498740101))); 这是您的问题md5((md5(123456789)。(1498740101)))的答案; in your example you calculate not concantinate. 在您的示例中,您计算​​出不是一致的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM