码迷,mamicode.com
首页 >  
搜索关键字:salt states    ( 1580个结果
密码学中的“盐值 Salt”
为什么要在密码里加点“盐” 盐(Salt) 在密码学中,是指通过在密码任意固定位置插入特定的字符串,让散列后的结果和使用原始密码的散列结果不相符,这种过程称之为“加盐”。 以上这句话是维基百科上对于 Salt 的定义,但是仅凭这句话还是很难理解什么叫 Salt,以及它究竟起到什么作用。 第一代密码 ...
分类:其他好文   时间:2020-07-02 13:31:41    阅读次数:60
[PBFT]Practical Byzantine Fault Tolerance[二]<View-Change>视图更换理解
一、视图更换的必要性 视图更换是系统由于Primary出故障而能够保证可用性(liveness)的手段,可用性指操作能够在有效时间内完成。 checkpoint, stable checkpoint the states produced by the excution of these reque ...
分类:其他好文   时间:2020-06-30 01:00:19    阅读次数:89
saltstack
在主机上安装saltstack 首先需要epel源, 其次安装:yum install salt-master -y 开机自启动:chkconfig salt-master on 在别的服务器上应该安装yum install salt-minion -y 开机自启动:chkconfig salt-m ...
分类:其他好文   时间:2020-06-28 18:44:53    阅读次数:51
Flutter Weekly Issue 61
插件 sup A Flutter widget which displays an image, a title, and a subtitle for errors, empty states, or just fancy custom messages. pub-rules simple yet ...
分类:其他好文   时间:2020-06-24 19:35:59    阅读次数:105
ubuntu_server16.04详细安装步骤
原文链接 https://blog.csdn.net/zhengchaooo/article/details/79500209 进入系统安装的第一个界面,开始系统的安装操作。每一步的操作,左下角都会提示操作方式!! 1.选择系统语言-English 2.选择操作-Install Ubuntu Ser ...
分类:系统相关   时间:2020-06-23 15:19:45    阅读次数:62
用户登录相关安全
###1 用户登录密码加密 /** * 密码加密 * * @param pwd 原始密码 * @param salt 盐值 * @return */ public String encryptedPassword(String pwd, String salt) { String pwdSalt = ...
分类:其他好文   时间:2020-06-22 11:15:07    阅读次数:80
django设置cookie
两个例子: 使用模板 from django.shortcuts import render, HttpResponse from rest_framework.views import APIView class Order(APIView): def get(self, request, *ar ...
分类:其他好文   时间:2020-06-12 22:59:34    阅读次数:104
Napster
Peer to Peer technology MP3 made copyrighted materially Space Shifting Vicarious Liability: Responsibility of any third party that had the "right, abi ...
分类:其他好文   时间:2020-06-11 23:16:21    阅读次数:72
hashlib模块
hashlib模块 密文加密 MD5基本使用: import hashlib # 获取MD5对象 md5 = hashlib.md5() # 可以在获取MD5对象时加'盐',以更深程度的加密 # hashlib.md5("salt".encode("utf8")) # 要加密的内容 # update ...
分类:其他好文   时间:2020-06-10 20:50:09    阅读次数:64
django框架——十二
cookie与session http协议是无状态的 django操作cookie # 需要借助于HttpResponse对象 # 加盐 obj.set_signed_cookie(key,value,salt='盐') request.get_signed_cookie(key,salt='盐') ...
分类:其他好文   时间:2020-06-08 16:15:39    阅读次数:68
1580条   上一页 1 ... 3 4 5 6 7 ... 158 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!