aries_cloudagent.core.in_memory.didcomm package
Submodules
aries_cloudagent.core.in_memory.didcomm.derive_1pu module
Functions for performing Key Agreement using ECDH-1PU.
- aries_cloudagent.core.in_memory.didcomm.derive_1pu.derive_1pu(ze, zs, alg, apu, apv, keydatalen)[source]
Generate shared encryption key from two ECDH shared secrets.
aries_cloudagent.core.in_memory.didcomm.derive_ecdh module
Functions for performing Key Agreement.
- aries_cloudagent.core.in_memory.didcomm.derive_ecdh.concat_kdf(shared_secret: bytes, alg: Union[str, bytes], apu: Union[str, bytes], apv: Union[str, bytes], keydatalen: int)[source]
Generate a shared encryption key from a shared secret.
Generate a shared secret from keys in byte format.
Generate a shared secret from keys in ecdsa.Keys format.