08 2021 档案

摘要:基于流的RC4实现。 $rc4 = new RC4(base_decode('abcdefghijklmnopqrstuv==')); $response = $rc4->encrypt('123456'); $response2 = $rc4->encrypt('123456'); 因为是基于流的 阅读全文
posted @ 2021-08-31 22:26 艾恩 阅读(40) 评论(0) 推荐(0)
摘要:渲染函数 最基础的渲染函数用法 new Vue({ el: '#app', render(h){ return h('div', 'hello world!'); } }); new Vue({ el: '#app', render(h){ return h({template: '<div>hel 阅读全文
posted @ 2021-08-29 11:34 艾恩 阅读(155) 评论(0) 推荐(0)
摘要:1、防抖 function lazyFunction(fn, timeout){ var timer = 0; return function(){ if(timer) window.clearTimeout(timer); var args = arguments, that = this; ti 阅读全文
posted @ 2021-08-26 09:05 艾恩 阅读(22) 评论(0) 推荐(0)
摘要:private static string SHA1(byte[] clearData) { using (System.Security.Cryptography.SHA1 sha1 = System.Security.Cryptography.SHA1.Create()) { return Co 阅读全文
posted @ 2021-08-25 17:25 艾恩 阅读(38) 评论(0) 推荐(0)