ukrandom

package
v0.9.4-60-g832bb8ff Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2024, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

Index

Constants

View Source
const LibraryName = "ukrandom"

Variables

View Source
var ParamRandomSeed = ukargparse.ParamStr("random", "seed", nil)

Functions

func ExportedParams

func ExportedParams() []ukargparse.Param

ExportedParams returns the parameters available by this exported library.

Types

type RandomSeed

type RandomSeed [8]uint32

RandomSeed are the 8 ints that are required by the ukrandom library.

func NewRandomSeed

func NewRandomSeed() (random RandomSeed)

NewRandomSeed generates a new set of true random integers or nothing if error.

func (RandomSeed) String

func (rng RandomSeed) String() string

String implements fmt.Stringer and returns a valid set of random bytes.

Jump to

Keyboard shortcuts

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