Title: | Generate and Translate Standard UUIDs |
---|---|
Description: | Generate and translate standard UUIDs into shorter - or just different - formats and back. Also implements base58 encoders and decoders. |
Authors: | David Schoch [aut, cre] |
Maintainer: | David Schoch <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2024-11-21 04:49:56 UTC |
Source: | https://github.com/schochastics/shortuuid |
Convert base58 to uuid
base58_to_uuid(input, alphabet)
base58_to_uuid(input, alphabet)
input |
character vector of base58 strings |
alphabet |
character vector representing an alphabet |
character vector of uuids
Convert base58 bitcoin encoded character vector to uuid
bitcoin58_to_uuid(input)
bitcoin58_to_uuid(input)
input |
character vector of base58 strings |
character vector of uuids
Convert base58 flickr encoded character vector to uuid
flickr58_to_uuid(input)
flickr58_to_uuid(input)
input |
character vector of base58 strings |
character vector of uuids
Generate a random RFC4122 v4-compliant UUID
generate_uuid(n = 1)
generate_uuid(n = 1)
n |
number of ids to generate |
character vector of uuids
validate if character vector is base58 encoded
is.base58(x, alphabet)
is.base58(x, alphabet)
x |
A character vector |
alphabet |
character vector representing an alphabet |
check if object is of class uuid
is.uuid(x)
is.uuid(x)
x |
A character vector |
Convert uuid to base58
uuid_to_base58(input, alphabet)
uuid_to_base58(input, alphabet)
input |
character vector of uuids |
alphabet |
character vector representing an alphabet |
character vector of base58 encoded uuids
Convert uuid to base58 encoding of bitcoin
uuid_to_bitcoin58(input)
uuid_to_bitcoin58(input)
input |
character vector of uuids |
character vector of base58 encoded uuids
Convert uuid to base58 encoding of flickr
uuid_to_flickr58(input)
uuid_to_flickr58(input)
input |
character vector of uuids |
character vector of base58 encoded uuids
validate if a string is a uuid
validate.uuid(x)
validate.uuid(x)
x |
A character vector |