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

浙公网安备 33010602011771号