cryptography

package module
v0.0.0-...-9cb923c Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCSP

func CreateCSP(cspType wrapper.CSPType) (release func(), createHashMethod func(wrapper.HashType) (*wrapper.CryptoHash, error), exception error)

Фабрика провайдеров криптографии

func CreateGOST3411HashMethod

func CreateGOST3411HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

получить метод вычисления хэша по ГОСТ 3411

func CreateGOST3411_2012_256HashMethod

func CreateGOST3411_2012_256HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

получить метод вычисления хэша по ГОСТ 3411-2012-256

func CreateGOST3411_2012_512HashMethod

func CreateGOST3411_2012_512HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

получить метод вычисления хэша по ГОСТ 3411-2012-512

func CreateHashMethod

func CreateHashMethod(hashType wrapper.HashType) (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

фабрика методов хэширования

func CreateMD5HashMethod

func CreateMD5HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

func CreateSha256HashMethod

func CreateSha256HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

func CreateSha384HashMethod

func CreateSha384HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

func CreateSha512HashMethod

func CreateSha512HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), exception error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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