Documentation ¶
Index ¶
- func CreateFile(file string, size int, secure bool) error
- func GetData(size int, secure bool) ([]byte, error)
- func Verify(r io.Reader) (string, error)
- func VerifyData(data []byte) (string, error)
- func VerifyFile(file string) (string, error)
- func WriteRand(w io.Writer, size int, secure bool) error
- type RandReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyData ¶ added in v0.3.0
func VerifyFile ¶ added in v0.1.0
Types ¶
type RandReader ¶
type RandReader struct {
// contains filtered or unexported fields
}
func NewRandReader ¶
func NewRandReader(limit int, secureRandom bool) (*RandReader, error)
Click to show internal directories.
Click to hide internal directories.