Mercurial > hgrepos > Python > apps > py-cutils
view shasum.py @ 88:f69353f26937
Support for using the pyblake2 package if native support for BLAKE2 is not available in hashlib.
This is to support BLAKE2 on Python2 and pre-Python 3.6.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 21 Apr 2022 00:24:49 +0200 |
| parents | 6cec638c995c |
| children | 6378ba9ae949 |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 2020-2022 Franz Glasner # :License: BSD-3-Clause # :- r"""Pure Python implementation of `shasum` """ from __future__ import absolute_import import sys import cutils.shasum sys.exit(cutils.shasum.main())
