
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
github.com/gokyle/uuid
package uuid
provides an RFC 4122 UUID generator.
Each supported UUID version provides two functions: GenerateVn
, where n
is the version number, and GenerateVnString
. The GenerateVn
function
returns the UUID as a Uuid
type (currently implemented as a []byte
), and
the GenerateVnString
returns the UUID as a string
.
Tests for each exported function are also provided, which include checks to ensure that generated UUIDs are in the proper format.
// GenerateV4String returns a version 4 UUID as a string.
func GenerateV4String() (u string, err error)
// GenerateV4 returns a version 4 UUID as a byte slice.
func GenerateV4() (u Uuid, err error)
type Uuid []byte
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.