Skip to main content

SHA-3 for Python 2.6 - 3.4

Project description

pysha3

sha3 wrapper (keccak) for Python. The package is a wrapper around the optimized reference implementation from http://keccak.noekeon.org/ . Only the optimizations for 32 and 64bit platforms are used. The optimized SSE and ARM assembly variants are ignored for now.

The module is targeted for inclusion in Python 3.4, see http://bugs.python.org/issue16113

Usage

>>> import sha3
>>> s = sha3.sha3()
>>> s.name
'sha3_512'
>>> s.digest_size
64
>>> s.update(b"data")
>>> s.hexdigest()
'1065aceeded3a5e4412e2187e919bffeadf815f5bd73d37fe00d384fe29f55f08462fdabe1007b993ce5b8119630e7db93101d9425d6e352e22ffe3dcb56b825'

The module contains the constructors sha3_228(), sha3_256(), sha3_384 and sha3_512(). sha3() is an alias for sha3_512().

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

pysha3-0.1.zip (49.3 kB view details)

Uploaded Source

pysha3-0.1.tar.gz (38.3 kB view details)

Uploaded Source

Built Distributions

pysha3-0.1.win-amd64-py3.3.exe (270.1 kB view details)

Uploaded Source

pysha3-0.1.win-amd64-py3.2.exe (272.5 kB view details)

Uploaded Source

pysha3-0.1.win-amd64-py2.7.exe (272.0 kB view details)

Uploaded Source

pysha3-0.1.win-amd64-py2.6.exe (272.3 kB view details)

Uploaded Source

pysha3-0.1.win32-py3.3.exe (205.7 kB view details)

Uploaded Source

pysha3-0.1.win32-py3.2.exe (210.9 kB view details)

Uploaded Source

pysha3-0.1.win32-py2.7.exe (210.9 kB view details)

Uploaded Source

pysha3-0.1.win32-py2.6.exe (211.2 kB view details)

Uploaded Source

File details

Details for the file pysha3-0.1.zip.

File metadata

  • Download URL: pysha3-0.1.zip
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pysha3-0.1.zip
Algorithm Hash digest
SHA256 57ee2e591f2f5e27aa7ca3adb7575bbfd8ad7d77625f6837f4f2797a96a30419
MD5 8bcbd81ea7014d5ef5589adaab6a7cbe
BLAKE2b-256 2fe2c57058e2d84f1c3a60351ea27cce4b782bba956278bd534b89971e6b20d5

See more details on using hashes here.

File details

Details for the file pysha3-0.1.tar.gz.

File metadata

  • Download URL: pysha3-0.1.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pysha3-0.1.tar.gz
Algorithm Hash digest
SHA256 36e109376a6392a7206b1e9da51afcaf53225bd58c6398f0ae2a0570b99013fe
MD5 28d01387b337e49af6f7123d41b13618
BLAKE2b-256 896afe37f6f74acee78c20cfa9206a39e09503514aa70ceb67b6fd0af4327089

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 20671229c3beb8fe84d99a1b552ff184001852664d8c739446d8334f19fe67ba
MD5 54d57013ab1ae30b7645cb7c28059d13
BLAKE2b-256 7d92b7c94a65b7035b131e39717726766581bcfe1b62657b3358d6dd44344590

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 5363f8d0aa0c992ab9d9648d2e36d82623e6c4f8faccc35a0ff38084b6135a50
MD5 7948e3a9f90a578084d9d77b6d242725
BLAKE2b-256 ccce336ef08d88fd336b8fb3c4d85f523e434b0bf9ad460b520d9c4452d57787

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 5883ae9ad0902963565a11d1d715b02a0fb67beacbf84df6716297e33098f33e
MD5 9b7314f662ba0f6e6b70f88aeb223547
BLAKE2b-256 38088e0faa6717bfc68240da888472c3d937bcef3e66162524bbbf44973d2a28

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 248ca6cad8c67fc8779a819ca168fa7100e64d899532a9a3729fedb2fa1e69e7
MD5 af5dab0b9e0a61e36bbf80a215605168
BLAKE2b-256 db90cd8e6731117a8bb9eae7758f256745aff1ca905350fef22b340c62087761

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win32-py3.3.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win32-py3.3.exe
Algorithm Hash digest
SHA256 07fee6c109335adcafad7a463e8170dbff638bae54a934d214f8d501809734e7
MD5 1605e5b4379d9b2eeaab6beb065136d6
BLAKE2b-256 731c49bff235896da8b54513a8934d6141902861d668054a265a56a4f4d9d6a6

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win32-py3.2.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win32-py3.2.exe
Algorithm Hash digest
SHA256 4fbf0eec37a65f1ccb4c4e63ce9a62fd7f58b526357db9db13c6455170ce6057
MD5 fb231bb7fb60ca7e428640ab30bef7d9
BLAKE2b-256 f3f1c3283742ed1c844c46a90e83a3652788fc243067c33997a16487201a4399

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win32-py2.7.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win32-py2.7.exe
Algorithm Hash digest
SHA256 0050520d6de01bfd25dc4947709fc74381100753bd3bd1fefa1c0be54475b4fa
MD5 04c2f761c0d68069668a7b452a47fb66
BLAKE2b-256 3fd001185664fe59611a76f263c882a8b3b6e94ca9cfa31a6e77225776ad3425

See more details on using hashes here.

File details

Details for the file pysha3-0.1.win32-py2.6.exe.

File metadata

File hashes

Hashes for pysha3-0.1.win32-py2.6.exe
Algorithm Hash digest
SHA256 981e8deaa42c6ad12b90f548c70bf137f373f710c00c2eb1a4f714a46a144d06
MD5 268aa9963c6665a50b5c2dd43e0446e4
BLAKE2b-256 88bcd58bc2c956a5a339fd411a72d60aba624781ad07a8b37c71c30ef9a8f38e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page