cryptorand

package
v4.0.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Overview

Package cryptorand implements a static analyzer to ensure that the crypto/rand package is used for randomness throughout the codebase.

Index

Constants

View Source
const Doc = "Tool to enforce the use of stronger crypto: crypto/rand instead of math/rand"

Doc explaining the tool.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "cryptorand",
	Doc:      Doc,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Analyzer runs static analysis.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL