oasisprotocol / oasis-core

Performant and Confidentiality-Preserving Smart Contracts + Blockchains
https://oasisprotocol.org
Apache License 2.0
330 stars 107 forks source link

keymanager/src/churp: Implement key derivation function #5699

Closed peternose closed 1 month ago

peternose commented 2 months ago

Tool for deriving keys from a secret key produced by the key derivation center (a feature of churp).

let shared_secret; // x-coordinate of a point on a curve
let salt; // runtime ID || churp ID || key ID
let state_key = Kdf::state_key(shared_secret, salt);
netlify[bot] commented 2 months ago

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
Latest commit 6403d5b0cb5abc166bbb4ac682d8f8454ff18e62
Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/66558d1ba0987d0008b681fe