Code Monkey home page Code Monkey logo

digest's Introduction

digest

Introduction

The digest utility calculates message digests of files or, if no file is specified, standard input. The set of supported digests depends on the current Python interpreter and the version of OpenSSL present on the system. However, at a minimum, digest supports the following algorithms:

  • md5: The MD5 algorithm
  • sha1: The SHA1 algorithm
  • sha224: The SHA224 algorithm
  • sha256: The SHA256 algorithm
  • sha384: The SHA384 algorithm
  • sha512: The SHA512 algorithm

Type digest -h to see a full list of algorithms available to your installation.

Copyright and License

Digest is copyright © 2008-2023 Brian M. Clapper.

Prior to version 1.1.0, digest was released under a 3-clause BSD license. As of version 1.1.0 digest is released under the Apache Software License, version 2.0. See the license file and https://www.apache.org/licenses/LICENSE-2.0 for more details.

digest's People

Contributors

bmc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

digest's Issues

shake_128 and shake_256 digests failing

If you try and generate a shake_128 or shake_256 digest you get an exception

TypeError: hexdigest() takes exactly one argument (0 given)

These encoders need an optional len() argument set as these are variable length digest functions.

Continuous fuzzing by way of OSS-Fuzz

Hi,

I was wondering if you would like to integrate continuous fuzzing by way of OSS-Fuzz? Fuzzing is a way to automate test-case generation and can be used to find unexpected exceptions in Python. In this PR google/oss-fuzz#8189 I did an initial integration into OSS-Fuzz, and this initial fuzzer should be enough to cover the logic of digest.

If you would like to integrate, the only thing I need is a list of email(s) that will get access to the data produced by OSS-Fuzz, such as bug reports, coverage reports and more stats. Notice the emails affiliated with the project will be public in the OSS-Fuzz repo, as they will be part of a configuration file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.