sha3bit
stable
  • Installation
  • Python3 examples
  • API
sha3bit
  • sha3bit
  • Edit on GitHub

sha3bit

Pure python implementation of SHA3 with features which are often lacking:

  • bit granularity for message input length

  • import/export API to “persist” the state in the middle of a hash computation

Other online resources:

  • project page on GitHub

  • Download Page with releases

  • This page, when viewed online is at https://sha3bit.readthedocs.io/en/latest/

  • Installation
    • From PyPI
  • Python3 examples
    • One liner
    • Bit length capability
      • One liner
      • Update / digest
    • Import / export
    • Dumping intermediate values
  • API
    • sha3_224
      • sha3_224.digest()
      • sha3_224.export_state()
      • sha3_224.hexdigest()
      • sha3_224.import_state()
      • sha3_224.update()
    • sha3_256
      • sha3_256.digest()
      • sha3_256.export_state()
      • sha3_256.hexdigest()
      • sha3_256.import_state()
      • sha3_256.update()
    • sha3_384
      • sha3_384.digest()
      • sha3_384.export_state()
      • sha3_384.hexdigest()
      • sha3_384.import_state()
      • sha3_384.update()
    • sha3_512
      • sha3_512.digest()
      • sha3_512.export_state()
      • sha3_512.hexdigest()
      • sha3_512.import_state()
      • sha3_512.update()
    • shake_128
      • shake_128.digest()
      • shake_128.export_state()
      • shake_128.hexdigest()
      • shake_128.hexsqueez()
      • shake_128.import_state()
      • shake_128.squeez()
      • shake_128.update()
    • shake_256
      • shake_256.digest()
      • shake_256.export_state()
      • shake_256.hexdigest()
      • shake_256.hexsqueez()
      • shake_256.import_state()
      • shake_256.squeez()
      • shake_256.update()
    • Keccak
      • Keccak.absorb()
      • Keccak.export_state()
      • Keccak.f1600()
      • Keccak.import_state()
      • Keccak.squeez()

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2023, Sebastien Riou. Revision 0f8ddee9.

Built with Sphinx using a theme provided by Read the Docs.