Update ed25519 secret key format return description (#325)

This commit is contained in:
Jaco
2022-04-04 09:25:39 +03:00
committed by GitHub
parent 8cc2a167e1
commit 33b77fed37
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## master
Changes:
- Update ed25519 secret key format return description
## 5.1.1 Mar 27, 2022
Changes:
+2 -2
View File
@@ -22,8 +22,8 @@ fn new_from_parts(pubkey: &[u8], seckey: &[u8]) -> Keypair {
///
/// * seed: UIntArray with 32 element
///
/// returned vector is the concatenation of first the private key (64 bytes)
/// followed by the public key (32) bytes.
/// returned vector is the concatenation of first the seed (32 bytes)
/// followed by the public key (32) bytes, as the full secret keys.
#[wasm_bindgen]
pub fn ext_ed_from_seed(seed: &[u8]) -> Vec<u8> {
match &SecretKey::from_bytes(seed) {