Expand description
Pubhubs specific crypto
Functions§
- attr_id
- Derives an
Idfor anAttr. - attr_
signing_ key - Computes the
jwt::HS256key used to signAttrfrom the secret shared between the authentication server and pubhubs central. - auths_
attr_ keys - Derives attribute keys for a given
attr::Attribute and a list of timestamps. - combine_
master_ enc_ key_ parts - Computes the
x Bfromx_T * Bandx_PHC, used by PHC to create the constellation - constellation_
id - Derives an
id::Idfor aconstellation::Inner. - jwt_id
- Derives an
id::Idfor ajwt::JWT. - phc_
user_ object_ hmac - Derives an
hmacfor a user object stored at pubhubs central. - pseud_
factor_ for_ hub - Computes the pseudonymisation factor $g_H$ for the hub identified by
hub_id, from the transcryptor’spseud_factor_secret. Seecrate::api::ssofor the exact formula. - sealing_
secret - Computes the
crypto::SealingKeyused to seal messages between servers shared a secret. - t_
encrypted_ hub_ pseudonym - Turns the given polymorphic pseudonym
pp(which should beId_Uelgamal encrypted forx) into an encrypted hub pseudonym (which should beg_H Id_Uelgamal encrypted forx_PHC).