hash

package
v0.0.0-...-b173b6e Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 2 Imported by: 0

README

Componenta / Hash

Обертка над SHA256... остальные позже

package main

import (
    "fmt"
    "github.com/AlexanderGrom/componenta/hash"
)

func main() {
    h := hash.New("String")
    sum := h.Sum([]byte("String"))

    fmt.Println(sum)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash

type Hash struct {
}

func New

func New() *Hash

func (*Hash) Sum

func (self *Hash) Sum(b []byte) string

Jump to

Keyboard shortcuts

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