go-crypto-gost

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: GPL-3.0

README

GO CRYPTO GOST

Build Status Go Report Card codecov GitHub Release Go Reference

RUS

GO CRYPTO GOST - Библиотека компонентов предназначена для создания цифровой подписи в формате PEM при помощи криптографических алгоритмов GOST 34.10

Основана на полном форке библиотеки

  1. https://git.cypherpunks.ru/gogost.git

И на модифицированных форках библиотек

  1. https://github.com/ftomza/go-gost-crypto.git
  2. https://github.com/ddulesov/pkcs7
  3. https://go.mozilla.org/pkcs7
Примеры использования

можно найти в каталоге cmd/examples

ENG

GO CRYPTO GOST - Component Library Designed to create a digital signature in PEM container using cryptographic algorithms GOST 34.10

Based on a full fork of the library

  1. https://git.cypherpunks.ru/gogost.git

and on modified libraries forks

  1. https://github.com/ftomza/go-gost-crypto.git
  2. https://github.com/ddulesov/pkcs7
  3. https://go.mozilla.org/pkcs7
Usage examples

can be found in the cmd/examples directory

Directories

Path Synopsis
cmd
examples/load-private-key-from-pem-file
Программа демонстрирует загрузку приватного ключа GOST3410 из файла в формате PEM
Программа демонстрирует загрузку приватного ключа GOST3410 из файла в формате PEM
examples/load-public-key-from-pem-file
Программа демонстрирует загрузку публичного ключа GOST3410 из файла в формате PEM
Программа демонстрирует загрузку публичного ключа GOST3410 из файла в формате PEM
examples/load-signed-message-from-pem-file
Программа демонстрирует загрузку подписи сообщения GOST3410 из файла в формате PEM
Программа демонстрирует загрузку подписи сообщения GOST3410 из файла в формате PEM
examples/sign-gost-3410
Программа демонстрирует создание подписи GOST3410 без использования PKCSx контейнеров (PEM)
Программа демонстрирует создание подписи GOST3410 без использования PKCSx контейнеров (PEM)
examples/sign-gost-3410-by-pem-bytes
Программа демонстрирует создание подписи сообщения GOST3410 в формате PEM
Программа демонстрирует создание подписи сообщения GOST3410 в формате PEM
examples/verify-digest-from-signed-message-with-keys
Программа демонстрирует проверку соответствия дайджеста и подписи сообщения GOST3410 в формате PEM
Программа демонстрирует проверку соответствия дайджеста и подписи сообщения GOST3410 в формате PEM
streebog256
Command-line 34.11-2012 256-bit hash function.
Command-line 34.11-2012 256-bit hash function.
streebog512
Command-line 34.11-2012 512-bit hash function.
Command-line 34.11-2012 512-bit hash function.
internal
pkg/gost34112012
GOST R 34.11-2012 hash function.
GOST R 34.11-2012 hash function.
pkg
crypto-message/containers
Package containers provides en: a set of constants and functions for working with PEM and DER packaging formats ru: набор констант и функции работы с PEM и DER форматами упаковки
Package containers provides en: a set of constants and functions for working with PEM and DER packaging formats ru: набор констант и функции работы с PEM и DER форматами упаковки
crypto-message/containers/certificate
Package certificate provides en: structure of the Container representation in the asn.1, methods for this structure and the decoding function from DER ru: структуру представления Container в asn.1, методы для этой структуры и функцию декодирования из DER asn.1 - Abstract Syntax Notation One (ASN.
Package certificate provides en: structure of the Container representation in the asn.1, methods for this structure and the decoding function from DER ru: структуру представления Container в asn.1, методы для этой структуры и функцию декодирования из DER asn.1 - Abstract Syntax Notation One (ASN.
crypto-message/containers/certificate/tbs-certificate
Package tbscertificate provides en: structure of the Container representation in the asn.1, methods for this structure and the decoding function from DER ru: структуру представления Container в asn.1, методы для этой структуры и функцию декодирования из DER asn.1 - Abstract Syntax Notation One (ASN.
Package tbscertificate provides en: structure of the Container representation in the asn.1, methods for this structure and the decoding function from DER ru: структуру представления Container в asn.1, методы для этой структуры и функцию декодирования из DER asn.1 - Abstract Syntax Notation One (ASN.
crypto-message/containers/certificate/tbs-certificate/public-key-info
Package publickeyinfo provides en: structure of the public key representation in the asn.1, methods for this structure and the decoding function from DER ru: структуру представления публичного ключа в asn.1, методы для этой структуры и функцию декодирования из DER asn.1 - Abstract Syntax Notation One (ASN.
Package publickeyinfo provides en: structure of the public key representation in the asn.1, methods for this structure and the decoding function from DER ru: структуру представления публичного ключа в asn.1, методы для этой структуры и функцию декодирования из DER asn.1 - Abstract Syntax Notation One (ASN.
crypto-message/oids
Package oids provides en: a set of constants and functions for working with ASN.1 OBJECT IDENTIFIER in relation to the GOST encryption standard ru: набор констант и функции работы с ASN.1 OBJECT IDENTIFIER применительно стандарта шифрования GOST
Package oids provides en: a set of constants and functions for working with ASN.1 OBJECT IDENTIFIER in relation to the GOST encryption standard ru: набор констант и функции работы с ASN.1 OBJECT IDENTIFIER применительно стандарта шифрования GOST
crypto-message/oids/algorithm
Package algorithm provides en: set of constants and functions for working with encryption algorithms in relation to the GOST encryption standard ru: набор констант и функции работы с алгоритмами шифрования применительно стандарта шифрования GOST
Package algorithm provides en: set of constants and functions for working with encryption algorithms in relation to the GOST encryption standard ru: набор констант и функции работы с алгоритмами шифрования применительно стандарта шифрования GOST
crypto-message/oids/algorithm/public-key-algorithm
Package publickeyalgorithm provides en: a set of constants and functions for working with encryption algorithms for public keys in relation to the GOST encryption standard ru: набор констант и функции работы с алгоритмами шифрования для публичных ключей применительно стандарта шифрования GOST
Package publickeyalgorithm provides en: a set of constants and functions for working with encryption algorithms for public keys in relation to the GOST encryption standard ru: набор констант и функции работы с алгоритмами шифрования для публичных ключей применительно стандарта шифрования GOST
crypto-message/oids/algorithm/signature-algorithm
Package signaturealgorithm provides en: a set of constants and functions for working with encryption algorithms for signatures in relation to the GOST encryption standard ru: набор констант и функции работы с алгоритмами шифрования для подписей применительно стандарта шифрования GOST
Package signaturealgorithm provides en: a set of constants and functions for working with encryption algorithms for signatures in relation to the GOST encryption standard ru: набор констант и функции работы с алгоритмами шифрования для подписей применительно стандарта шифрования GOST
crypto-message/oids/curves
Package curves provides en: a set of functions for working with *gost3410.Curve in relation to the GOST encryption standard ru: набор функции работы с *gost3410.Curve применительно стандарта шифрования GOST
Package curves provides en: a set of functions for working with *gost3410.Curve in relation to the GOST encryption standard ru: набор функции работы с *gost3410.Curve применительно стандарта шифрования GOST
crypto-message/oids/hash
Package hash provides en: a set of constants and functions for working with hash functions in relation to the GOST encryption standard ru: набор констант и функции работы с хеш функциями применительно стандарта шифрования GOST
Package hash provides en: a set of constants and functions for working with hash functions in relation to the GOST encryption standard ru: набор констант и функции работы с хеш функциями применительно стандарта шифрования GOST
gogost
Pure Go GOST cryptographic functions library.
Pure Go GOST cryptographic functions library.
gost28147
GOST 28147-89 block cipher with ECB, CFB, CTR, MAC modes of operation.
GOST 28147-89 block cipher with ECB, CFB, CTR, MAC modes of operation.
gost3410
GOST R 34.10-2001 (RFC 5832), GOST R 34.10-2012 (RFC 7091) signature algorithms and VKO GOST R 34.10-2001 (RFC 4357), VKO GOST R 34.10-2012 (RFC 7836) key agreement algorithms.
GOST R 34.10-2001 (RFC 5832), GOST R 34.10-2012 (RFC 7091) signature algorithms and VKO GOST R 34.10-2001 (RFC 4357), VKO GOST R 34.10-2012 (RFC 7836) key agreement algorithms.
gost34112012256
GOST R 34.11-2012 256-bit hash function.
GOST R 34.11-2012 256-bit hash function.
gost34112012512
GOST R 34.11-2012 512-bit hash function.
GOST R 34.11-2012 512-bit hash function.
gost341194
GOST R 34.11-94 hash function.
GOST R 34.11-94 hash function.
gost3412128
GOST 34.12-2015 128-bit (Кузнечик (Kuznechik)) block cipher.
GOST 34.12-2015 128-bit (Кузнечик (Kuznechik)) block cipher.
gost341264
GOST 34.12-2015 64-bit (Магма (Magma)) block cipher.
GOST 34.12-2015 64-bit (Магма (Magma)) block cipher.
gost3413
GOST R 34.13-2015 padding methods.
GOST R 34.13-2015 padding methods.
mgm
Multilinear Galois Mode (MGM) block cipher mode.
Multilinear Galois Mode (MGM) block cipher mode.
prfplus
PRF_IPSEC_PRFPLUS_GOSTR3411_2012_{256,512} as defined in R 50.1.113-2016.
PRF_IPSEC_PRFPLUS_GOSTR3411_2012_{256,512} as defined in R 50.1.113-2016.

Jump to

Keyboard shortcuts

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