@1k/md5 中文文档教程
@1k/md5
使用 MD5
Usage
npm i @1k/md5
# yarn add @1k/md5
import { md5 } from '@1k/md5'
console.log(md5('1')) // c4ca4238a0b923820dcc509a6f75849b
console.log(md5('123')) // 202cb962ac59075b964b07152d234b70
console.log(md5('abc')) // 900150983cd24fb0d6963f7d28e17f72
<script src="https://unpkg.com/@1k/md5"></script>
<script>
const { md5 } = OneK
console.log(md5('1')) // c4ca4238a0b923820dcc509a6f75849b
console.log(md5('123')) // 202cb962ac59075b964b07152d234b70
console.log(md5('abc')) // 900150983cd24fb0d6963f7d28e17f72
</script>
License
MIT 散列消息的函数 © Script Power
@1k/md5
Function for hashing messages with MD5
Usage
npm i @1k/md5
# yarn add @1k/md5
import { md5 } from '@1k/md5'
console.log(md5('1')) // c4ca4238a0b923820dcc509a6f75849b
console.log(md5('123')) // 202cb962ac59075b964b07152d234b70
console.log(md5('abc')) // 900150983cd24fb0d6963f7d28e17f72
<script src="https://unpkg.com/@1k/md5"></script>
<script>
const { md5 } = OneK
console.log(md5('1')) // c4ca4238a0b923820dcc509a6f75849b
console.log(md5('123')) // 202cb962ac59075b964b07152d234b70
console.log(md5('abc')) // 900150983cd24fb0d6963f7d28e17f72
</script>
License
MIT © Script Power
更多