Giter Site home page Giter Site logo

leplusorg / docker-hash Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 181 KB

Docker container with utilities to compute hashes (CRC32, MD5, SHA-1, SHA-256, SHA-512, Argon2...).

Home Page: https://hub.docker.com/r/leplusorg/hash

License: Apache License 2.0

Dockerfile 100.00%
argon2 docker-container docker dockerfile md5 sha256 sha1 crc32 sha-1 sha-256

docker-hash's Introduction

Hash

Docker container with utilities to compute hashes (CRC32, MD5, SHA-1, SHA-256, SHA-512, Argon2...).

Dockerfile Docker Build Docker Stars Docker Pulls Docker Version

Example not using the filesystem

Let's say that you have a file foo.txt in your current working directory that you want to compute its SHA-256 hash:

Mac/Linux

cat foo.txt | docker run --rm -i --net=none leplusorg/hash sha256sum

Windows

type foo.txt | docker run --rm -i --net=none leplusorg/hash sha256sum

Example using the filesystem

Same thing, assuming that you have a file foo.txt in your current working directory that you want to compute its SHA-256 hash:

Mac/Linux

docker run --rm -t --user="$(id -u):$(id -g)" --net=none -v "$(pwd):/tmp" leplusorg/hash sha256sum /tmp/foo.txt

Windows

In cmd:

docker run --rm -t --net=none -v "%cd%:/tmp" leplusorg/hash sha256sum /tmp/foo.txt

In PowerShell:

docker run --rm -t --net=none -v "${PWD}:/tmp" leplusorg/hash sha256sum /tmp/foo.txt

Help

To know what are the message digest algorithms supported by openssl, you can run:

docker run --rm --net=none leplusorg/hash openssl help

Request new tool

Please use this link (GitHub account required) to request that a new tool be added to the image. I am always interested in adding new capabilities to these images.

docker-hash's People

Contributors

dependabot[bot] avatar mend-bolt-for-github[bot] avatar snyk-bot avatar thomasleplus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ruageek ouf lpu

docker-hash's Issues

[FEAT]

Which tool would you like to see added to the image? Why is it useful?
A clear and concise description of what the tool is and what it is used for. Ex. If I had tool X I could [...]. Please also provide a example of the command line that you would like to run.

How is it installed? Does it require any configuration?
A clear and concise description of how the tool is installed. Ideally using a package manager (apt, pip, npm...) to keep the image automatically up to date with the latest version of the tool.

[FEAT]

Which tool would you like to see added to the image? Why is it useful?
A clear and concise description of what the tool is and what it is used for. Ex. If I had tool X I could [...]. Please also provide a example of the command line that you would like to run.

How is it installed? Does it require any configuration?
A clear and concise description of how the tool is installed. Ideally using a package manager (apt, pip, npm...) to keep the image automatically up to date with the latest version of the tool.

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.