Go random string generator alternatives and similar packages
Based on the "Security" category.
Alternatively, view Go random string generator alternatives based on common mentions on social networks and blogs.
-
Lean and Mean Docker containers
Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source) -
age
A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability. -
autocert
[mirror] Go supplementary cryptography libraries -
CertMagic
Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal -
Cameradar
Cameradar hacks its way into RTSP videosurveillance cameras -
memguard
Secure software enclave for storage of sensitive information in memory. -
acmetool
:lock: acmetool, an automatic certificate acquisition tool for ACME (Let's Encrypt) -
secure
HTTP middleware for Go that facilitates some quick security wins. -
Themis by Cossack Labs
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms. -
acra
Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL. -
ToRat
ToRat is a Remote Administation tool written in Go using Tor as a transport mechanism and RPC for communication -
Coraza
OWASP Coraza WAF is a golang modsecurity compatible web application firewall library -
dongle
A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption -
go-password-validator
Validate the Strength of a Password in Go -
firewalld-rest
A rest application to update firewalld rules on a linux server -
optimus-go
ID hashing and Obfuscation using Knuth's Algorithm -
BadActor
BadActor.org An in-memory application driven jailer written in Go -
passlib
:key: Idiotproof golang password validation library inspired by Python's passlib -
bitwarden-go
A Bitwarden-compatible server written in Golang -
simple-scrypt
A convenience library for generating, comparing and inspecting password hashes using the scrypt KDF in Go ๐ -
teler-waf
teler-waf is a Go HTTP middleware that provide teler IDS functionality to protect against web-based attacks and improve the security of Go-based web applications. It is highly configurable and easy to integrate into existing Go applications. -
argon2pw
Argon2 password hashing package for go with constant time hash comparison -
goSecretBoxPassword
A probably paranoid Golang utility library for securely hashing and encrypting passwords based on the Dropbox method. This implementation uses Blake2b, Scrypt and XSalsa20-Poly1305 (via NaCl SecretBox) to create secure password hashes that are also encrypted using a master passphrase. -
go-generate-password
Password generator written in Go -
Credman
Simple and secure credential/password management with extra steps in Go! -
secureio
An easy-to-use XChaCha20-encryption wrapper for io.ReadWriteCloser (even lossy UDP) using ECDH key exchange algorithm, ED25519 signatures and Blake3+Poly1305 checksums/message-authentication for Go (golang). Also a multiplexer. -
certificates
An opinionated helper for generating tls certificates -
sslmgr
A layer of abstraction the around acme/autocert certificate manager (Golang) -
goArgonPass
goArgonPass is a Argon2 Password utility package for Go using the crypto library package Argon2 designed to be compatible with Passlib for Python and Argon2 PHP. Argon2 was the winner of the most recent Password Hashing Competition. This is designed for use anywhere password hashing and verification might be needed and is intended to replace implementations using bcrypt or Scrypt. -
argon2-hashing
A light package for generating and comparing password hashing with argon2 in Go -
secret
Prevent your secrets from leaking into logs, std* etc. -
Interpol
Rule-based data generator for fuzzing and penetration testing.
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Go random string generator or a related project?
README
Go random string generator
Usage
import "github.com/go-passwd/randomstring"
Documentation
https://go-passwd.github.io/randomstring.html
Rules functions
Length rule function
Returns a length of a string to generate.
NewLength(n uint)
Sets string length to n.
NewLengthRange(min, max uint)
Sets string length to length between min and max
Charset rule function
Modify a charset and returns it.
NewIncludeCharset(chars string)
Add chars to charset.
NewExcludeCharset(chars string)
Removes chars from charset.
Output rule function
NewBeginWith(letters string)
Checks if newly selected at random char does start with a one of letters. Function only executed at first char.
NewNoDuplicateCharacters()
Checks if string doesn't have newly selected at random char.
NewNoSequentialCharacters(n uint)
Checks if string doesn't have n sequentials characters.
Generate rule function
Generates a new string based on: charset, length and output rules.
NewDefaultGenerate()
Simple random string generator.