gost3412128

package
v0.0.0-...-5a10bb4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

GOST 34.12-2015 128-bit (Кузнечик (Kuznechik)) block cipher.

Index

Constants

View Source
const (
	BlockSize = 16
	KeySize   = 32
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

type Cipher struct {
	// contains filtered or unexported fields
}

func NewCipher

func NewCipher(key []byte) *Cipher

func (*Cipher) BlockSize

func (c *Cipher) BlockSize() int

func (*Cipher) Decrypt

func (c *Cipher) Decrypt(dst, src []byte)

func (*Cipher) Encrypt

func (c *Cipher) Encrypt(dst, src []byte)

Jump to

Keyboard shortcuts

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