package
1.0.0
Repository: https://github.com/goark/mt.git
Documentation: pkg.go.dev

# README

About "secure.Source" type

secure.Source type is wrapper of crypto/rand package.

Usage

//go:build run
// +build run

package main

import (
    "fmt"
    "math/rand"

    "github.com/goark/mt"
    "github.com/goark/mt/secure"
)

func main() {
    fmt.Println(rand.New(secure.Source{}).Uint64())
    fmt.Println(mt.New(secure.Source{}).Uint64())
}