#md5 #numbers #string

bin+lib md5mix

A fun number to string by md5

3 releases

0.1.2 Nov 10, 2022
0.1.1 Oct 24, 2022
0.1.0 Oct 24, 2022

#36 in #md5

MIT/Apache

8KB
133 lines

#MD5MIX

md5 混淆加解密数字到字符串,解析字符串到数字,抄袭php的一个加密算法,加密算法名字不明

Example

let id: i32 = 101;
let md5mix_str = md5mix::encode(id);
assert_eq!(id, md5mix::decode(&md5mix_str));

Security Warning

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.


lib.rs:

md5 混淆加解密数字

md5 混淆加解密数字到字符串,解析字符串到数字,抄袭php的一个加密算法,加密算法名字不明

Dependencies

~4MB
~55K SLoC