Documentation ¶
Overview ¶
Package hash provides en: a set of constants and functions for working with hash functions in relation to the GOST encryption standard ru: набор констант и функции работы с хеш функциями применительно стандарта шифрования GOST
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function string
const ( UnknownHashFunction Function = "UnknownHashFunction" SHA1 Function = "SHA1" SHA256 Function = "SHA256" SHA384 Function = "SHA384" SHA512 Function = "SHA512" GostR341194 Function = "GostR341194" GostR34112012256 Function = "GostR34112012256" //Stribog GOST R 34.11-2012 256-bit GostR34112012512 Function = "GostR34112012512" //Stribog GOST R 34.11-2012 512-bit )
func Get ¶
Get en: get hash function by the corresponding oids.ID const ru: получить хэш функцию по соответствующей oids.ID константе
func (Function) CryptoHash ¶
CryptoHash en: returns standard hash functions ru: возвращает стандартные хеш функции
Click to show internal directories.
Click to hide internal directories.