[][src]Function ssb_keyfile::new_keyfile_string

pub fn new_keyfile_string(pk: &PublicKey, sk: &SecretKey) -> String

Create a string containing the content of a new secret file for the given keys, in js ssb commented-json format.