基本信息
源码名称:js sha1加密 示例源码(sha1.js)
源码大小:0.02M
文件格式:.zip
开发语言:js
更新时间:2018-04-19
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
sha1(''); // da39a3ee5e6b4b0d3255bfef95601890afd80709 sha1('The quick brown fox jumps over the lazy dog'); // 2fd4e1c67a2d28fced849ee1bb76e7391b93eb12 sha1('The quick brown fox jumps over the lazy dog.'); // 408d94384216f890ff7a0c3528e8bed1e0b01621 // It also supports UTF-8 encoding sha1('中文'); // 7be2d2d20c106eee0836c9bc2b939890a78e8fb3 // It also supports byte `Array`, `Uint8Array`, `ArrayBuffer` sha1([]); // da39a3ee5e6b4b0d3255bfef95601890afd80709 sha1(new Uint8Array([])); // da39a3ee5e6b4b0d3255bfef95601890afd80709 // Different output sha1(''); // da39a3ee5e6b4b0d3255bfef95601890afd80709 sha1.hex(''); // da39a3ee5e6b4b0d3255bfef95601890afd80709 sha1.array(''); // [218, 57, 163, 238, 94, 107, 75, 13, 50, 85, 191, 239, 149, 96, 24, 144, 175, 216, 7, 9] sha1.digest(''); // [218, 57, 163, 238, 94, 107, 75, 13, 50, 85, 191, 239, 149, 96, 24, 144, 175, 216, 7, 9] sha1.arrayBuffer(''); // ArrayBuffer