-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fixed length for principal digest (#2126)
* Use fixed length for principal digest This updates the way we compute principals to encode the length of the origins & principals in a fixed-length manner. This avoids a whole class of collisions that could be crafted intentionally when using the string representation of the numbers. * Update src/frontend/src/storage/index.ts * Add length limit to RP front-end origins --------- Co-authored-by: Frederik Rothenberger <frederik.rothenberger@dfinity.org>
- Loading branch information
Showing
1 changed file
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters