我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

什么是最短的哈希/

Is there any hashing method for php to hash (just integer to string) in shortest lenght?

for example

input : 10565 output : rwk4

input : 40853353246 output : orhg0ut04h

if there is not hashing like this

Is there any way(function) to do it?

You can use the base_convert function for what you want, but note that a hash is something else entirely.

近期文章

  • 我如何删除数组中的数组[重复]
  • php在数组中使用foreach [重复]
  • 如何在按钮单击时重定向页面以及将数据保存在数据库中
  • php显示所有mysql记录,只显示一行
  • 如何解决phpmyadmin无法访问localhost?
  • PHP在img tagg - PDO中显示来自DB的所有图像
  • 图像保存在特定文件夹中并在PHP中返回该图像路径
  • PHP注意:尝试在第4654行的/wp-includes/query.php中获取非对象的属性
  • mysqli_real_escape_string()期望参数1为mysqli,null为null
  • 将字符串数组转换为数组
  • {%= file.name%}输出不一致
  • MySQL数据库无法连接[关闭]
  • PHP中的自执行代码
  • 变量到另一个php文件
  • 如何修复此错误?
  • 显示登录用户的部分[关闭]
  • localhost web移动到godaddy服务器
  • ajax调用返回网络错误>> 404
  • 无法使用PHP从MySQL获取数据
  • 移至AWS后发送邮件无效[复制]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华