Encrypted key module - Password-based and key-based key derivation
This module provides types and operations for encrypting symmetric keys using various key derivation functions (KDFs).
Supported key derivation methods:
SshAgent
The main components are:
EncryptedKey
KeyDerivationMethod
KeyDerivationParams
HKDFParams
PBKDF2Params
ScryptParams
Argon2idParams
SSHAgentParams
As the reference's TryFrom<CBOR> (error type Error): a u8 with dcbor's negative wrap (-256 reads as 0, SHA-256), then General Invalid HashType for any other value; a non-integer or out-of-width head is Cbor (CBOR error: …).
TryFrom<CBOR>
Error
u8
-256
General
Invalid HashType
Cbor
CBOR error: …
Encrypted key module - Password-based and key-based key derivation
This module provides types and operations for encrypting symmetric keys using various key derivation functions (KDFs).
Supported key derivation methods:
SshAgent)The main components are:
EncryptedKey: Encrypted symmetric key with derivation parametersKeyDerivationMethod: Enum of supported methodsKeyDerivationParams: Union type for method-specific parametersHKDFParams,PBKDF2Params,ScryptParams,Argon2idParams,SSHAgentParams