.. index:: single: cuid2(Representation,Size,Alphabet) .. _cuid2/3: .. rst-class:: right **object** ``cuid2(Representation,Size,Alphabet)`` ======================================= * ``Representation`` - Text representation for the Cuid2 identifier. Possible values are ``atom``, ``chars``, and ``codes``. * ``Size`` - Number of symbols in the Cuid2 identifier. * ``Alphabet`` - Alphabet used for generating Cuid2 identifiers represented as an atom, list of characters, or list of character codes. Cuid2 generator. | **Availability:** | ``logtalk_load(cuid2(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2026-02-26 | **Compilation flags:** | ``static, context_switching_calls`` | **Implements:** | ``public`` :ref:`cuid2_protocol ` | **Uses:** | :ref:`fast_random(Algorithm) ` | :ref:`list ` | :ref:`os ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`cuid2_protocol/0::generate/1`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none) .. seealso:: :ref:`cuid2 `, :ref:`ids(Representation,Bytes) `, :ref:`ksuid(Representation,Alphabet) `, :ref:`nanoid(Representation,Size,Alphabet) `, :ref:`snowflakeid(Representation,EpochMilliseconds,TimeUnitMilliseconds,TimestampBits,NodeBits,SequenceBits,Node) `, :ref:`ulid(Representation) `, :ref:`uuid(Representation) `