Skip to content

Generte new identifiers in base64? #127

@madig

Description

@madig
>>> import uuid, base64
>>> base64.urlsafe_b64encode(uuid.uuid4().bytes).rstrip(b'=').decode('ascii')
'moCYzJVCQySDcN98C1Icfg'

Nicer and shorter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions