Module crypto.sha1 stdlib

crypto.sha1
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
2
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

#constant size

size       = 20

#constant block_size

block_size = 64

Sum types

This section is empty.

Functions

#fn hexhash

fn hexhash(s string) string

hexhash returns a hexadecimal SHA1 hash sum string of s.

#fn new

fn new() &Digest

new returns a new Digest (implementing hash.Hash) computing the SHA1 checksum.

#fn sum

fn sum(data []u8) []u8

sum returns the SHA-1 checksum of the bytes passed in data.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.