1

crypto-js 的完全看不懂

 2 years ago
source link: https://www.v2ex.com/t/812499
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  JavaScript

crypto-js 的完全看不懂

  lolizeppelin · 14 小时 29 分钟前 · 551 次点击

crypto-js 到底是怎么实现编码的??


const md5 = CryptoJS.algo.MD5.create();
md5.update(CryptoJS.lib.WordArray.create(chunk));
const digest = md5.finalize();

这三行代码 的具体内容完全找不到具体内容
crypto-js 源码里都是 interface 没有看到任何具体代码...懵逼...

是我姿势不对?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK