[−][src]Module networking::encryption
contains blowfish encryption wrapper, as well as storage solution (serde) for BigUint principly BigNum
Structs
BigNum | the purpose of this structure is to provide an implementation of BigUint, as is used by the rsa crate, that can be serialized for the sake of storing an retriving rsa keys |
PrivKeyComp | private key version of PubKeyPair |
PubKeyPair | this struct is used within ArtificePeer, that is transmittted over then network so as to provide the public key of the peer to the hsot like BigNum, this is an abstraction of RSAPublicKey that can be serialized using the serde crate |
Functions
generate_key | used to encrypt password and generate a key that can be used to encrypt, and decrypt data |
random_string | used to generate things such as pair keys, and global peer hash, see ArtificePeer |