kcipher2

package
v1.0.3021 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package kcipher2 implements the KCipher-2 stream cipher

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCipher

func NewCipher(key []byte, iv []byte) (cipher.Stream, error)

NewCipher returns a cipher.Stream implementing the KCipher-2 stream cipher. The key and iv parameters must each be 16 bytes.

Types

type IVSizeError

type IVSizeError int

func (IVSizeError) Error

func (iv IVSizeError) Error() string

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string

Jump to

Keyboard shortcuts

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