.. index:: single: ksuid(Representation,Alphabet) .. _ksuid/2: .. rst-class:: right **object** ``ksuid(Representation,Alphabet)`` ================================== * ``Representation`` - Text representation for the KSUID. Possible values are ``atom``, ``chars``, and ``codes``. * ``Alphabet`` - Base62 alphabet used for encoding KSUIDs represented as an atom, list of characters, or list of character codes. KSUID generator. | **Availability:** | ``logtalk_load(ksuid(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2026-02-26 | **Compilation flags:** | ``static, context_switching_calls`` | **Implements:** | ``public`` :ref:`ksuid_protocol ` | **Uses:** | :ref:`fast_random(Algorithm) ` | :ref:`iso8601 ` | :ref:`list ` | :ref:`os ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`ksuid_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:`ksuid `, :ref:`cuid2(Representation,Size,Alphabet) `, :ref:`nanoid(Representation,Size,Alphabet) `, :ref:`ids(Representation,Bytes) `, :ref:`ulid(Representation) `, :ref:`snowflakeid(Representation,EpochMilliseconds,TimeUnitMilliseconds,TimestampBits,NodeBits,SequenceBits,Node) `, :ref:`uuid(Representation) `