hash

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package hash provides cryptographic hash functions.

Provided functions:

  • md4(data)
  • md5(data)
  • sha1(data)
  • sha3(data, size) (default size 256)
  • sha224(data)
  • sha256(data, size) (default size 256)
  • sha384(data)
  • sha512(data, size) (default size 512)
  • blake2s(data)
  • blake2b(data, size) (default size 512)
  • ripemd160(data)

Each SQL function will only be registered if the corresponding crypto.Hash function is available. To ensure a specific hash function is available, import the implementing package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(db *sqlite3.Conn) error

Register registers cryptographic hash functions for a database connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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