Home > Backend Development > PHP Tutorial > 可逆的加密算法,要求有点高

可逆的加密算法,要求有点高

WBOY
Release: 2016-06-13 12:41:17
Original
764 people have browsed it

求一个可逆的加密算法,要求有点高
要求:
1.加密后的长度和加密前的长度一样长
2.加密后的字符串中只允许出现a到z中的字母和0到9的数字
3.根据秘钥可以再算回来
加密前的字符串也都是字母和数字的组合
如加密前的字符串:us3kqvu

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template