FROST Rerandomized TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Function serializeCiphersuite

    • Serialize a ciphersuite identifier. For human-readable format, returns the ID string. For binary format, returns the short 4-byte CRC-32.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to serialize

      • humanReadable: boolean

        Whether to use human-readable format

      Returns string | Uint8Array<ArrayBufferLike>

      The serialized ciphersuite identifier