amebazii

Module util

Source
Expand description

Utility functions for creating signatures and hashes.

Functions§

  • Computes an HMAC-MD5 signature for the provided key and data.
  • Computes an HMAC-SHA256 signature for the provided key and data.
  • Computes an MD5 hash of the provided data.
  • Computes a SHA-256 hash of the provided data.
  • Skips bytes in the provided reader to ensure that the next read operation aligns with the specified alignment.
  • Writes the specified byte fill repeatedly to the writer for the given length.