@1k/hash 中文文档教程
@1k/hash
Usage
npm i @1k/hash
# yarn add @1k/hash
// cjs
const OneK = require('@1k/hash')
// esm
import OneK from '@1k/hash'
<script src="https://unpkg.com/@1k/hash"></script>
<script>
const { md5 } = OneK
console.log(md5('1')) // c4ca4238a0b923820dcc509a6f75849b
console.log(md5('123')) // 202cb962ac59075b964b07152d234b70
console.log(md5('abc')) // 900150983cd24fb0d6963f7d28e17f72
</script>
License
MIT © 脚本力量
@1k/hash
Usage
npm i @1k/hash
# yarn add @1k/hash
// cjs
const OneK = require('@1k/hash')
// esm
import OneK from '@1k/hash'
<script src="https://unpkg.com/@1k/hash"></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