3

Reading Generating Secure Multisig Addresses (for hot wallets and cold storage), I see the term "key digest".

  1. Is this key a private key associated with an address?
  2. How to compute the digest?
  3. Since both party can have many addresses, and many private keys, which keys' digests are good for use?
1

A key digest is a string of trytes that is generated using a seed and a private key.

For multisig, each co-signer provides a key digest, and all of these key digests are used to create a multisig address. The co-signers can safely share their key digest with other co-signers so that each one can independently validate the multisig address.

See this article for more info.

[edit] You can create a key digest with the JavaScript API:

iota.multisig.getDigest(seed, index) Generates the digest value of a key.

seed: String, Tryte encoded seed index

index: Integer, Index of the public/private key pair that you want to use.

Returns String - key digest represented in trytes

  • I also read that, but that article did not explain how one can make a digest either. – lulalala Jan 9 '18 at 13:33
  • You can create a digest with the JavaScript API: iota.multisig.getDigest(seed, index) Generates the digest value of a key. Input seed: String Tryte encoded seed index: 'Int’ Index of the private key. Returns String - digest represented in trytes. Index is the index of the public/private key pair that you want to use – jakecahill Jan 9 '18 at 13:37
  • Please include those information with edit into your answer. as they are quite important to answer the how to compute part of the question. – Helmar Jan 9 '18 at 13:50
  • also what's the criteria in choosing the index? Can an used address's private key be used? – lulalala Jan 10 '18 at 1:06
  • Always increment the index after a transaction has been sent from a multisig address. This information is in the article I link to in my answer. – jakecahill Jan 10 '18 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.