Skip to content
Sections
>> Trisquel >> Paket >> aramo >> devel >> golang-github-dchest-uniuri-dev
nabia  ] [  aramo  ]
[ Källkod: golang-github-dchest-uniuri  ]

Paket: golang-github-dchest-uniuri-dev (0.0~git20200228.7aecb25-1)

generator of random strings to identify unique objects

This Go package contains software to generate random strings good for use in URIs to identify unique objects.

A standard string created by New() is 16 bytes in length and consists of Latin upper and lowercase letters, and numbers (from the set of 62 allowed characters), which means that it has ~95 bits of entropy. To get more entropy, you can use NewLen(UUIDLen), which returns 20-byte string, giving ~119 bits of entropy, or any other desired length.

Hämta golang-github-dchest-uniuri-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 4,1 kbyte19 kbyte [filförteckning]