Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RFCs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documents
RFCs
Commits
fbb1d7a7
Commit
fbb1d7a7
authored
4 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[DEWIF] fix v1 example
parent
2284a95c
Branches
Branches containing commit
No related tags found
1 merge request
!5
Dewif
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
+8
-7
8 additions, 7 deletions
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
with
8 additions
and
7 deletions
rfc/0013_Duniter_Encrypted_Wallet_Import_Format.md
+
8
−
7
View file @
fbb1d7a7
...
...
@@ -45,7 +45,7 @@ This base64 string encodes a sequence of bytes whose structure is defined below.
|:---------|:-----------|
| None | 0x00000000 |
| Ğ1 | 0x00000001 |
| Ğ1-Test | 0x
0
1000001 |
| Ğ1-Test | 0x1
0
000001 |
## encrypted datas
...
...
@@ -72,21 +72,22 @@ The public key serves as a checksum. To check that the `.dewif` file is not corr
Example 1:
Seed generated from scrypt with the following parameters:
password: "password"
salt: "salt"
password: "
user
password"
salt: "
user
salt"
N : 4096
r: 16
p: 1
```
txt
0x000000001 #v1
0x22a91d9afa1dd13e96cecfa38d3f3655ca2726818ba5aa84e6b7dee1a036fc0f # seed
0xecdaab8f7ea0ea6f4b9f4e930cef2a1bb277736f64c971c43ca5d73cfb4bb80f # public key
0x100000001 #g1-test
0xbfa3f6e322cf21d0e652f79a69df9498fdf5347665e5646d9041f756496a1143 # seed
17df9d2b059cdd2825955691e3a783e6da403148ddebb1144d1a9b9e545f2371 # public key
```
DEWIF base 64 string (with
zeroing aes key
):
DEWIF base 64 string (with
aes key
`"toto titi tata"`
):
`AA
FTQgEdcnSqvdxZW9Q+37b1RpiC5lsd/kjT01xUq122obU8R2IyyAVqpAsC2s7dwOX9xJ4r9WRnNrcpjLt3Mnq3
`
`AA
AAARAAAAGfFDAs+jVZYkfhBlHZZ2fEQIvBqnG16g5+02cY18wSOjW0cUg2JV3SUTJYN2CrbQeRDwGazWnzSFBphchMmiL0
`
### v2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment