crypto

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 1 Imported by: 3

Documentation

Overview

Package crypto implements cryptographic functions for Babble.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA256

func SHA256(data []byte) []byte

SHA256 returns the SHA256 hash of the data.

func SimpleHashFromTwoHashes

func SimpleHashFromTwoHashes(left []byte, right []byte) []byte

SimpleHashFromTwoHashes returns the SHA256 hash of the concatenation of left and right data.

Types

This section is empty.

Directories

Path Synopsis
Package keys implements the public key cryptography used throughout Babble.
Package keys implements the public key cryptography used throughout Babble.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL