Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <?php
  2.  
  3. $digest = "�X]x�C�����";
  4. $password = "123456";
  5.  
  6. $ctx = hash_init('md5');
  7. hash_update($ctx, $digest);
  8. hash_update($ctx, $password);
  9. $hash = hash_final($ctx, true);
  10.  
  11. echo $hash;
  12.  
  13. const crypto = require('crypto');
  14.  
  15. var digest = "�X]x�C�����";
  16. var password = "123456";
  17.  
  18. var ctx = crypto.createHash('md5');
  19. ctx.update(digest);
  20. ctx.update(password);
  21. var hash = ctx.digest('ascii');
  22.  
  23. console.log(hash);
  24.  
  25. ���|�r�c;���� #�
  26.  
  27. :p|.r_c;=j[ #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement