hash

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 8 Imported by: 6

README

hash

hash defines hash primitives for starlark

Functions

md5(string) string

returns md5 hash of a string

sha1(string) string

returns sha1 hash of a string

sha256(string) string

returns sha256 hash of a string

Documentation

Overview

Package hash defines hash primitives for starlark.

  outline:
	hash defines hash primitives for starlark.
	path: hash
	functions:
	  md5(string) string
	    returns an md5 hash for a string
	  sha1(string) string
	    returns an sha1 hash for a string
	  sha256(string) string
	    returns an sha256 hash for a string

Index

Constants

View Source
const ModuleName = "hash.star"

ModuleName defines the expected name for this Module when used in starlark's load() function, eg: load('hash.star', 'hash')

Variables

This section is empty.

Functions

func LoadModule

func LoadModule() (starlark.StringDict, error)

LoadModule loads the time module. It is concurrency-safe and idempotent

Types

This section is empty.

Jump to

Keyboard shortcuts

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