Compute and print message digest hash values from stdin.

dgst

Compute and print message digest hash values of stdin.

Usage

Compute and print message digest hash values of stdin.

Usage:
  dgst [command]

Available Commands:
  blake2-256  Compute and print the "blake2-256" digest of stdin.
  blake2-384  Compute and print the "blake2-384" digest of stdin.
  blake2-512  Compute and print the "blake2-512" digest of stdin.
  help        Help about any command
  md4         Compute and print the "md4" digest of stdin.
  md5         Compute and print the "md5" digest of stdin.
  ripemd160   Compute and print the "ripemd160" digest of stdin.
  sha1        Compute and print the "sha1" digest of stdin.
  sha224      Compute and print the "sha224" digest of stdin.
  sha256      Compute and print the "sha256" digest of stdin.
  sha3-224    Compute and print the "sha3-224" digest of stdin.
  sha3-256    Compute and print the "sha3-256" digest of stdin.
  sha3-384    Compute and print the "sha3-384" digest of stdin.
  sha3-512    Compute and print the "sha3-512" digest of stdin.
  sha384      Compute and print the "sha384" digest of stdin.
  sha512      Compute and print the "sha512" digest of stdin.
  sha512/224  Compute and print the "sha512/224" digest of stdin.
  sha512/256  Compute and print the "sha512/256" digest of stdin.

Flags:
  -A, --base64   print hash values encoded as base64
  -b, --binary   print hash values directly without encoding
  -h, --help     help for dgst

Use "dgst [command] --help" for more information about a command.

Examples

$ echo -n | dgst md5
d41d8cd98f00b204e9800998ecf8427e
$ echo -n | dgst md5 --binary | xxd
00000000: d41d 8cd9 8f00 b204 e980 0998 ecf8 427e  ..............B~
$ echo -n | dgst blake2-256 --base64
1B2M2Y8AsgTpgAmY7PhCfg==
$ echo -n | dgst blake2-256 --base64
DldRwCblQ7Loqy6wYJnaodHl30d3j3eH+qtFzfEv46g=
$ echo -n | dgst blake2-256 --base64 --key=deadbeef
aSYX2bvjUGB+3hPEZrOTwL7m8UR0ESVGP5Zm1z5kh2U=
Similar Resources

Message relay written in golang for PostgreSQL and Apache Kafka

Message Relay Message relay written in golang for PostgreSQL and Apache Kafka Requirements Docker and Docker Compose Local installation and using dock

Dec 19, 2021

Log4Shell is a middleware plugin for Traefik which blocks JNDI attacks based on HTTP header values.

Log4Shell Mitigation Log4Shell is a middleware plugin for Traefik which blocks JNDI attacks based on HTTP header values. Related to the Log4J CVE: htt

Dec 20, 2022

Grpc-gateway-map-null - gRPC Gateway test using nullable values in map

Demonstrate gRPC gateway behavior with nullable values in maps Using grpc-gatewa

Jan 6, 2022

An n:m message multiplexer written in Go

An n:m message multiplexer written in Go

What is Gollum? Gollum is an n:m multiplexer that gathers messages from different sources and broadcasts them to a set of destinations. Gollum origina

Dec 23, 2022

Go server for STOMP message protocol

Stomper A Go message queue implementing the STOMP protocol. Done Frame parsing TODO Server connection protocol Define interface for queueing Implement

Nov 9, 2022

Basic implementation of WhatsApp message counter by participant.

Whatsapp Group Message Counter This is a learning project to get familiar with some topics related to Golang. make sure to have your exported file on

Dec 23, 2021

NotifyTool - A message forwarding service for http to websocket

notifyTool this is a message forwarding service for http to websocket task webso

Jan 3, 2022

Totsugen - Generate emphasis message with golang

totsugen Requirements Go 1.17+ Run $ go run main.go -value {value} # ex: go run

May 21, 2022

A golang library about socks5, supports all socks5 commands. That Provides server and client and easy to use. Compatible with socks4 and socks4a.

socks5 This is a Golang implementation of the Socks5 protocol library. To see in this SOCKS Protocol Version 5. This library is also compatible with S

Nov 22, 2022
Related tags
Reads JSON object (stream) from file/stdin and routes it/them to GCP Pub/Sub topics.

json2pubsub Publish JSON object (stream) into GCP Pub/Sub topic based on a field value. Usage: json2pubsub --project=STRING <mapping> ... Reads JSON

Nov 3, 2022
Carbyne Stack serverless compute service for secure multiparty computation

Carbyne Stack Ephemeral Service Ephemeral is a serverless compute service for secure multiparty computation based on Knative, Istio and Kubernetes. DI

Dec 7, 2022
Assembly-optimized MD4 hash algorithm in Go

md4 MD4 hash algorithm in Go. Assembly-optimized for amd64 platforms. MD4 is cryptographically broken and should should only be used where compatibili

Apr 14, 2022
Applies IMT Hash to the data of a downloaded file

downloader Description Applies IMT Hash to the data of a downloaded file. Writes the result in a file (hexData.txt) as a hex string in the provided pa

Nov 11, 2021
Reverse proxy server to filter traffic based on JA3 fingerprint/hash

JA3RP (JA3 Reverse Proxy) Ja3RP is a basic reverse proxy server that filters traffic based on JA3 fingerprints. It can also operate as a regular HTTP

Sep 17, 2022
dshield-intelfeel-ips - print all IPs from the DShield API's Intelfeed to STDOUT

dshield-intelfeel-ips dshield-intelfeel-ips - print all IPs from the DShield API's Intelfeed to STDOUT Project Description Usage Description Installat

Oct 20, 2021
Use pingser to create client and server based on ICMP Protocol to send and receive custom message content.
Use pingser to create client and server based on ICMP Protocol to send and receive custom message content.

pingser Use pingser to create client and server based on ICMP Protocol to send and receive custom message content. examples source code: ./examples Us

Nov 9, 2022
Optional-go - Library for conveniently and safely dealing with optional (nullable) values

Optional Go Library for conveniently and safely dealing with optional (nullable)

Oct 24, 2022
Use Consul to do service discovery, use gRPC +kafka to do message produce and consume. Use redis to store result.
Use  Consul to do service discovery, use gRPC +kafka to do message produce and consume. Use redis to store result.

目录 gRPC/consul/kafka简介 gRPC+kafka的Demo gRPC+kafka整体示意图 限流器 基于redis计数器生成唯一ID kafka生产消费 kafka生产消费示意图 本文kafka生产消费过程 基于pprof的性能分析Demo 使用pprof统计CPU/HEAP数据的

Jul 9, 2022
Encode and Decode Message Length Indicators for TCP/IP socket based protocols

SimpleMLI A Message Length Indicator Encoder/Decoder Message Length Indicators (MLI) are commonly used in communications over raw TCP/IP sockets. This

Nov 24, 2022