# coding:utf-8require 'openssl'require 'base64'#des加密并且base64编码def des_encrypt des_key, des_text des =OpenSSL::Cipher::Cipher.new("DES-ECB") des.encry ...
                            
                            
                                分类:
其他好文   时间:
2016-07-19 15:29:15   
                                阅读次数:
1258
                             
                    
                        
                            
                            
                                Let's Encrypt 给网站加 HTTPS 完全指南
29 MAY 2016
前段时间在北京联通3G移动网络下,发现自己的站点被联通劫持注入恶心的话费充值广告,决定让我的网站强制使用 HTTPS,避免 ISP 劫持。
使用 HTTPS 前的一些疑惑
现在是 2016 年,使用 HTTPS 已经不像几年前是一件昂贵的事情。当然我也是自己了解了一圈才消除了自己的疑惑,主要是:
我的...
                            
                            
                                分类:
Web程序   时间:
2016-07-15 11:14:12   
                                阅读次数:
847
                             
                    
                        
                            
                            
                                    1、从swagger拷贝出测试命令 curl -X GET --header "Accept: */*" --header "Authorization: encrypt uQDR6Kv1llnfQCdG0A/Ez2wSh3XilgE7OUA9LgiegSn4iiznGjg+D3pzxq3Alhol ...
                            
                            
                                分类:
Web程序   时间:
2016-07-14 02:04:57   
                                阅读次数:
141
                             
                    
                        
                            
                            
                                Encryption Configuration Basic Usage Encrypting a value Decrypting a value Configuration Before using Nova's encrypter, you should set the ENCRYPT_KEY ...
                            
                            
                                分类:
其他好文   时间:
2016-07-05 12:05:14   
                                阅读次数:
163
                             
                    
                        
                            
                            
                                    本篇参考Trail教程: https://developer.salesforce.com/trailhead/force_com_dev_intermediate/apex_integration_services/apex_integration_rest_callouts 有的时候我们需要在s ...
                            
                            
                                分类:
编程语言   时间:
2016-06-26 00:25:18   
                                阅读次数:
1938
                             
                    
                        
                            
                            
                                PHP的几个常用加密函数 在网站的开发过程中,常常需要对部分数据(如用户密码)进行加密,本文主要介绍PHP的几个常见的加密函数 MD5加密: string md5 ( string $str [, bool $raw_output = false ] ) 1.md5()默认情况下以 32 字符十六进 ...
                            
                            
                                分类:
Web程序   时间:
2016-06-20 20:29:18   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                Let's Encrypt是一个免费SSL证书发行项目,发行的证书已经获得主流浏览器的支持,亲测谷歌浏览器(桌面版)、火狐浏览器(桌面版)、UC浏览器(手机版)、360浏览器(手机版)支持,其它的暂没测试; 本文讲解如何使用Let's Encrypt获得免费SSL证书,配置apache的SSL功能, ...
                            
                            
                                分类:
Web程序   时间:
2016-06-09 18:37:58   
                                阅读次数:
1324
                             
                    
                        
                            
                            
                                转载原地址: https://chiragrdarji.wordpress.com/2008/08/11/how-to-encrypt-connection-string-in-webconfig/ The most sensitive information stored in web.confi ...
                            
                            
                                分类:
Web程序   时间:
2016-05-31 06:29:13   
                                阅读次数:
379
                             
                    
                        
                            
                            
                                    There's often quite a bit of confusion around the different terms SSL, TLS and STARTTLS. SSL and TLS both provide a way to encrypt a communication cha ...
                            
                            
                                分类:
其他好文   时间:
2016-05-20 19:31:17   
                                阅读次数:
207
                             
                    
                        
                            
                            
                                证书申请的: 1.lets encrypt 国际公益项目发展很快的,不过在国内暂时有些支持度还不够高,如微信安卓版就不认lets encrypt的证书。跳转进去一直处于空白页状态 2.沃通证书 国内的免费证书,支持度高些 http://freessl.wosign.com/freessl?tg=bd ...
                            
                            
                                分类:
Web程序   时间:
2016-05-15 19:26:37   
                                阅读次数:
217