小编Joc*_*i93的帖子

什么是更好的?Password_hash vs. SHA256 vs. SHA1 vs. md5

salt密码存储有什么好处?

MD5:

$hash = md5($password . $salt);
Run Code Online (Sandbox Code Playgroud)

Password_hash:

$hash = password_hash($password, PASSWORD_DEFAULT, $salt);
Run Code Online (Sandbox Code Playgroud)

SHA1:

$result = sha1($salt.$string);
Run Code Online (Sandbox Code Playgroud)

md5 sha1 store sha256 password-hash

9
推荐指数
1
解决办法
1万
查看次数

为什么这个CSS3动画不能在Firefox和Internet Explorer中运行?

我正在尝试创建一个初学者的CSS3动画.它适用于Chrome,Opera和Safari,但不适用于Internet Explorer(11)和Firefox(34.0)

我正在使用-moz-前缀,但它不起作用......我不知道为什么.

    body{
    width:100%;
}
#center{
    width:900px;
    margin:0 auto;

    height:800px;
    display:block;
}

#center .box{
        width:100px;
        height:100px;
        background-color:black;
        margin:0 auto;
        -webkit-animation: myfirst 5s; /* Chrome, Safari, Opera */
        animation: myfirst 5s; /*Explorer*/
        -moz-animation: myfirst 5s; /*Mozilla*/
        -webkit-animation-iteration-count: infinite; 
        -moz-animation-iteration-count: infinite;
         animation-iteration-count: infinite;
}

@-webkit-keyframes myfirst{
    from{backgrond:black;}
    to{background:yellow;}
}
@-moz-keyframes myfirst{
    from{background:black;}
    to{background: :yellow;}
}

@keyframes myfirst {
    from{background:black;}
    to{background: :yellow;}
}
Run Code Online (Sandbox Code Playgroud)

的jsfiddle

css animation css3

6
推荐指数
2
解决办法
439
查看次数

如何在XAMMP中清除Apache缓存?

如何在xammp中清除apache缓存?

我尝试了'htcacheclean -r'命令,但它始终生成错误.

如果我很清楚apache无法缓存文件/脚本,但是系统管理员说:'apache使用网站,所以清除apache(!)缓存.'.

打开Shell

生成错误

apache xampp caching

2
推荐指数
1
解决办法
4万
查看次数

溢出:隐藏无法在div中滚动

当我设置溢出时,我不能在div中滚动垂直:隐藏到它.我不明白为什么.

HTML:

<div class="s">
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
<p>lorem ispum<br/></p>
 </div>
Run Code Online (Sandbox Code Playgroud)

CSS:

 .s{
        overflow:hidden;
        height:200px;
        border:1px solid red;
    }
    body{
        height:100%;
    }
Run Code Online (Sandbox Code Playgroud)

我做了一个测试JsFiddle来显示错误.

的jsfiddle

更新:

我需要隐藏滚动条,但如果它被隐藏我无法滚动.

html css3

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

css3 ×2

animation ×1

apache ×1

caching ×1

css ×1

html ×1

md5 ×1

password-hash ×1

sha1 ×1

sha256 ×1

store ×1

xampp ×1