Skip to content

Simple semi-secure random string generation for golang

Notifications You must be signed in to change notification settings

myENA/secureRandom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secureRandom

Summary

Simple secure random string generation for golang.

Usage

The package provides a single function:

func New(n int) (string, error)

Example

package main

import (
	"fmt"
	srand "github.com/myENA/secureRandom"
)

func main() {
	s, err := srand.New(16)
	fmt.Println(s, err)
}

Please see the code, simple cli in rands and test case for more information.

About

Simple semi-secure random string generation for golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages