mdRand

package
v0.0.0-...-6c90f4e Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mdRand contains utility functions for working with random bit strings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomBits

func GetRandomBits(length int) string

generate a rand bit string for the file hash list or block hash list this use crypto/rand

func GetRandomBlockSize

func GetRandomBlockSize() uint64

generate a random file block size

func GetRandomModSize

func GetRandomModSize() uint64

generate a random modulus size

func Randint64

func Randint64() (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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