Skip to content

[meta] Future of the Cipher #63

@rt2zz

Description

@rt2zz

cipher is getting long, especially for update which has almost double the payload (need to encode bother the old and new alias). Our options to shorten it include some combination of the following:

  1. compress the result
  2. switch credential type codes to be integers
  3. do not use JSON.stringify, instead implement a custom serializer
  4. use a more compact encryption
  5. store alias requests in the db along with a "shortcode", send the shortcode to the channel rather than a cipher.

Additionally I am pretty sure we want to salt the cipher which will actually add to the size. - that is unless we go with option 5.

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