package player import ( "crypto/rand" "crypto/sha256" "crypto/subtle" "encoding/base64" "encoding/hex" "fmt" "strconv" "strings" "golang.org/x/crypto/argon2" ) // Argon2id parameters for password hashing. Memory cost dominates the // GPU/ASIC attack economics; 64 MiB per hash is affordable for a MUD's // login rate while making brute force expensive. Stored format: // // argon2id: