Firstyear on Nostr: I need some advice on cryptography related to using a secret value (say 256bit random ...
I need some advice on cryptography related to using a secret value (say 256bit random data) to derive a series of keys (such as an ecdsa private key or an rsa private key). Reading about it I cant find anything conclusive, and going through the rust crypto api there are places I could do this with HKDF and then stuffing bytes into certain apis that take them, but theres a lot of risks there. Any advice or resources on this?
npub1anfpfnzepfccpcejx5egv722mj2zclg8sffd26tfn95m63snwsvskzne0d (npub1anf…ne0d) ?
Published at
2024-10-03 08:40:39Event JSON
{
"id": "dde14a5c19de72a0a6f9710601ed54238ce6cfcadce728eb831cfa8ea525a3e7",
"pubkey": "eb790285686862d0e1daa346259369261b78d1bfd0ad0c7fbbab090d22fb3fa3",
"created_at": 1727944839,
"kind": 1,
"tags": [
[
"p",
"ecd214cc590a7180e332353286794adc942c7d078252d569699969bd46137419",
"wss://relay.mostr.pub"
],
[
"p",
"d63b8b0aa146408033df4151f08f9e6d2216856543492c261cfee60a3e7bebea",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://infosec.exchange/users/firstyear/statuses/113242593018461227",
"activitypub"
]
],
"content": "I need some advice on cryptography related to using a secret value (say 256bit random data) to derive a series of keys (such as an ecdsa private key or an rsa private key). Reading about it I cant find anything conclusive, and going through the rust crypto api there are places I could do this with HKDF and then stuffing bytes into certain apis that take them, but theres a lot of risks there. Any advice or resources on this?\nnostr:npub1anfpfnzepfccpcejx5egv722mj2zclg8sffd26tfn95m63snwsvskzne0d ?",
"sig": "2510945f3e150a6912bf903a08469c8687df9344224385a52fcb19e46bf27eaf7d8cc1d671e89cf71c3e6d1eac7e1106b32bd7d685364fdfa9dae10dd1837ac5"
}