Module nixio.crypto

Cryptographical library.

Functions

nixio.crypto.hash (algo) Create a hash object.
nixio.crypto.hmac (algo, key) Create a HMAC object.


Functions

nixio.crypto.hash (algo)
Create a hash object.

Parameters

  • algo: Algorithm ["sha1", "md5"]

Return value:

CryptoHash Object
nixio.crypto.hmac (algo, key)
Create a HMAC object.

Parameters

  • algo: Algorithm ["sha1", "md5"]
  • key: HMAC-Key

Return value:

CryptoHash Object

Valid XHTML 1.0!