Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
/ randomx Public archive

Randomx is a Go library for generating random strings. Powered by ChatGPT 3.5.

License

Notifications You must be signed in to change notification settings

tailabs/randomx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important: This repository is now in read-only mode. The development has moved to a new repository.

New Repository

The latest updates and active development are now happening in the following repository: Crewx

Please update your references and contribute to the new repository if you have any contributions or issues.

RandomX - Random String Generator (Read-Only)

license Go Report Card release

RandomX is a Go package that provides a user-friendly tool for generating random strings. It enables you to generate random strings of specified lengths with various character sets, including lowercase letters, uppercase letters, digits, and symbols.

This package was developed with the assistance of ChatGPT 3.5, an advanced language model created by OpenAI.

Installation

To incorporate RandomX into your Go project, you can easily install it with the following command:

go get -u github.com/tailabs/randomx

Usage

Here's an example demonstrating how to use the RandomX package to generate random strings:

package main

import (
	"fmt"
	"github.com/tailabs/randomx"
)

func main() {
	rx := randomx.New()

	randomChars := rx.GenerateRandomString(10, randomx.LowercaseLetters+randomx.UppercaseLetters)
	fmt.Println("Random Characters:", randomChars)

	randomOptions := randomx.GenerateOptions{
		UseLowercase: true,
		UseUppercase: true,
		UseDigits:    true,
		UseSymbols:   false,
	}
	randomCustom := rx.GenerateRandomStringFromBuiltin(12, randomOptions)
	fmt.Println("Random Custom:", randomCustom)
}

Credits

RandomX is developed and maintained by TAILabs.

This package was made possible with the assistance of ChatGPT 3.5, a state-of-the-art language model developed by OpenAI.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Randomx is a Go library for generating random strings. Powered by ChatGPT 3.5.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages