Rosetta
|
Functions | |
bool | compare_digest (bytes a, bytes b) |
bytes | hmac_digest (Union[bytes, bytearray] key, Union[bytes, bytearray] data) |
bytes | hkdf_extract (bytes ikm, Optional[bytes] salt) |
bytes | hkdf_expand (bytes prk, bytes info) |
bytes | derive_task_key (bytes passkey, str task_id) |
Variables | |
string | __author__ = "Jason C. Klima" |
BuiltinFunctionType | |
int | |
bytes | |
Return `a == b` result.
Referenced by pyrosetta.distributed.cluster.logging_listeners.LogRecordRequestHandler.unPickle().
Derive a per-task secret key using the extract-and-expand hash-based message authentication code (HMAC)-based key derivation function (HKDF).
References pyrosetta.distributed.cluster.hkdf.hkdf_expand(), and pyrosetta.distributed.cluster.hkdf.hkdf_extract().
Referenced by pyrosetta.distributed.cluster.core.PyRosettaCluster._create_future(), and pyrosetta.distributed.cluster.logging_listeners.LogRecordRequestHandler.unPickle().
Expand method for hash-based message authentication code (HMAC)-based key derivation function (HKDF), taking a pseudorandom key (PRK) and application-specific info.
References pyrosetta.distributed.cluster.hkdf.hmac_digest(), and range.
Referenced by pyrosetta.distributed.cluster.hkdf.derive_task_key().
Extract method for hash-based message authentication code (HMAC)-based key derivation function (HKDF), taking input keying material (IKM) and optional salt.
References pyrosetta.distributed.cluster.hkdf.hmac_digest().
Referenced by pyrosetta.distributed.cluster.hkdf.derive_task_key().
bytes pyrosetta.distributed.cluster.hkdf.hmac_digest | ( | Union[bytes, bytearray] | key, |
Union[bytes, bytearray] | data | ||
) |
Return the digest of a new hash-based message authentication code (HMAC) object.
Referenced by pyrosetta.distributed.cluster.hkdf.hkdf_expand(), pyrosetta.distributed.cluster.hkdf.hkdf_extract(), pyrosetta.distributed.cluster.logging_handlers.MsgpackHmacSocketHandler.makePickle(), and pyrosetta.distributed.cluster.logging_listeners.LogRecordRequestHandler.unPickle().
|
private |
pyrosetta.distributed.cluster.hkdf.BuiltinFunctionType |
pyrosetta.distributed.cluster.hkdf.bytes |
Referenced by bind_T60_pybind11(), and rosetta_binders.stringstream_add_on_binder().
pyrosetta.distributed.cluster.hkdf.int |