Documentation
¶
Index ¶
- func CreateCSP(cspType wrapper.CSPType) (release func(), ...)
- func CreateGOST3411HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateGOST3411_2012_256HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateGOST3411_2012_512HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateHashMethod(hashType wrapper.HashType) (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateMD5HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateSha256HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateSha384HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
- func CreateSha512HashMethod() (release func(), calculateHash func(io.Reader) (io.Reader, error), ...)
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 CreateSha256HashMethod ¶
func CreateSha384HashMethod ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.