3 Star 1 Fork 1

Gitee 极速下载 / Notary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/docker/notary
克隆/下载
fips.go 365 Bytes
一键复制 编辑 原始数据 按行查看 历史
package notary
import (
"crypto"
// Need to import md5 so can test availability.
_ "crypto/md5" // #nosec
)
// FIPSEnabled returns true if running in FIPS mode.
// If compiled in FIPS mode the md5 hash function is never available
// even when imported. This seems to be the best test we have for it.
func FIPSEnabled() bool {
return !crypto.MD5.Available()
}
Python
1
https://gitee.com/mirrors/Notary.git
git@gitee.com:mirrors/Notary.git
mirrors
Notary
Notary
master

搜索帮助