Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIP 2 - Eliminate Base64URL Storage Bloat #781

Closed
OR13 opened this issue Jun 30, 2020 · 2 comments
Closed

SIP 2 - Eliminate Base64URL Storage Bloat #781

OR13 opened this issue Jun 30, 2020 · 2 comments

Comments

@OR13
Copy link
Contributor

OR13 commented Jun 30, 2020

  SIP: 2
  Upgrade-Type: Hard Fork (to guarantee outcomes)
  Title: Eliminate Base64URL Storage Bloat
  Author: Orie Steele <orie@transmute.industries>
  Comments-Summary: No comments yet.
  Comments-URI: https://github.com/decentralized-identity/sidetree/sips/2.md
  Status: Draft
  Created: 2020-06-30

Summary

Base64URL is used throughout sidetree, in many cases, as a substitute for canonicalization...

Motivation

"Although Base64 is a relatively efficient way of encoding binary data it will, on average still increase the file size for more than 25%."

Requirements

Data structure file size should be minimized.

Technical Proposal

Replace Base64URL with JCS.

@OR13 OR13 self-assigned this Jun 30, 2020
@OR13
Copy link
Contributor Author

OR13 commented Jun 30, 2020

Granted, I wrote these tests in 10 minutes... https://github.com/OR13/jcs-vs-base64url

I welcome a counter proposal on the performance / storage side of this debate.

isaacJChen added a commit that referenced this issue Sep 21, 2020
isaacJChen added a commit that referenced this issue Sep 21, 2020
isaacJChen added a commit that referenced this issue Sep 22, 2020
isaacJChen added a commit that referenced this issue Sep 23, 2020
isaacJChen added a commit that referenced this issue Sep 23, 2020
isaacJChen added a commit that referenced this issue Sep 23, 2020
isaacJChen added a commit that referenced this issue Sep 24, 2020
isaacJChen added a commit that referenced this issue Sep 25, 2020
@thehenrytsai thehenrytsai added this to 2020 October in Reference implementation Oct 2, 2020
@OR13 OR13 removed their assignment Oct 7, 2020
@thehenrytsai
Copy link
Collaborator

Done.

Reference implementation automation moved this from 2020 October to Done Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants