This repository has been archived on 2026-09-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
claudeandClaude Sonnet 5 8186c7f0e2 add archival notice to README
This repository is being archived. Point readers at the standard-library
or community package that replaces it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 13:08:40 +01:00
2024-07-19 15:39:08 +01:00
2024-07-19 15:39:01 +01:00
2026-07-04 01:51:03 +01:00
2024-07-11 17:33:18 +01:00
2026-07-04 01:53:00 +01:00
2026-09-07 13:08:40 +01:00

Important

This repository is archived and no longer maintained.

The implementation uses math/rand, which is not suitable for anything security-sensitive, and Password has correctness bugs.

Use instead:


Go Random

Functions to create random values. That's about the size of it.

Example

package main

import (
	"fmt"

	"code.aneur.in/go/random"
)

func main() {
	n := make([]bool, 10)
	for i := range n {
		fmt.Println(random.Alpha(4 + i))
	}
}

License

See LICENSE.md

S
Description
No description provided
Readme
34 KiB
Languages
Go 100%