Skip to main content

actor_id_from_hex

Function actor_id_from_hex 

Source
pub(crate) fn actor_id_from_hex(key_hex: &str) -> ContentHash
Expand description

Derives the actor id from a 64-character ed25519 public key hex.

This is the one derivation the node also performs, so binding a key never asks an operator to hand-compute a hash — they paste the same hex choir key printed and the trusted-keys file carries.