Skip to content
Snippets Groups Projects
Commit c0621d90 authored by Millicent Billette's avatar Millicent Billette
Browse files

better CHANGELOG.fr.md

parent 745df34e
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,14 @@ et ce projet adhère au [versionnage sémantique](https://semver.org/spec/v2.0.0 ...@@ -13,9 +13,14 @@ et ce projet adhère au [versionnage sémantique](https://semver.org/spec/v2.0.0
## [Non-publié/Non-Stabilisé] (par [1000i100]) ## [Non-publié/Non-Stabilisé] (par [1000i100])
## [Version 3.1.0] - 2021-04-01 (par [1000i100] && [Hugo]) ## [Version 3.1.0] - 2021-04-01 (par [1000i100] & [Hugo])
### Ajouté ### Ajouté
- génération du [format court d'affichage de pubKey](https://forum.duniter.org/t/format-de-checksum/7616) - génération du [format court d'affichage de pubKey](https://forum.duniter.org/t/format-de-checksum/7616)
```javascript
import {pubKey2shortKey} from 'g1lib/crypto.mjs';
const shortKey = pubKey2shortKey("Mutu112HLfUbgVy4obN9kp3MnnDGShke88wrZr2Yr41");
// shortKey === "Mutu…Yr41:5cq"
```
## [Version 3.0.2] - 2020-12-10 (par [1000i100]) ## [Version 3.0.2] - 2020-12-10 (par [1000i100])
### Ajouté ### Ajouté
......
...@@ -28,9 +28,9 @@ test('idSecPass2cleanKeys should output clean base58 keys and seed', async t => ...@@ -28,9 +28,9 @@ test('idSecPass2cleanKeys should output clean base58 keys and seed', async t =>
t.is(r.idSec, idSec); t.is(r.idSec, idSec);
t.is(r.password, mdp); t.is(r.password, mdp);
}); });
test('pubKey2shortKey match D2me…wRaU:76W', t => { test('pubKey2shortKey match Mutu…Yr41:5cq', t => {
const pubKey = 'D2meevcAHFTS2gQMvmRW5Hzi25jDdikk4nC4u1FkwRaU'; const pubKey = 'Mutu112HLfUbgVy4obN9kp3MnnDGShke88wrZr2Yr41';
const shortKey = 'D2me…wRaU:76W'; const shortKey = 'Mutu…Yr41:5cq';
t.is(app.pubKey2shortKey(pubKey), shortKey); t.is(app.pubKey2shortKey(pubKey), shortKey);
}); });
test('pubKey2shortKey match RML1…zvSY:3k4', t => { test('pubKey2shortKey match RML1…zvSY:3k4', t => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment