Skip to content

SharedKey

SharedKey ⚓︎

Bases: SharedKey

symbolchain.nem.SharedKey.SharedKey

derive_shared_key(key_pair, other_public_key) staticmethod ⚓︎

symbolchain.nem.SharedKey.SharedKey.derive_shared_key

Derives shared encryption key from private key and public key.

derive_shared_key_deprecated(key_pair, other_public_key, salt) staticmethod ⚓︎

symbolchain.nem.SharedKey.SharedKey.derive_shared_key_deprecated

Derives shared encryption key from private key, public key and salt.

note: this method uses old method of deriving shared key and has been deprecated.