crypto: golang.org/x/crypto/pkcs12/internal/rc2 Index | Files

package rc2

import "golang.org/x/crypto/pkcs12/internal/rc2"

Package rc2 implements the RC2 cipher

https://www.ietf.org/rfc/rfc2268.txt http://people.csail.mit.edu/rivest/pubs/KRRR98.pdf

This code is licensed under the MIT license.

Index

Package Files

rc2.go

Constants

const BlockSize = 8

The rc2 block size in bytes

func New

func New(key []byte, t1 int) (cipher.Block, error)

New returns a new rc2 cipher with the given key and effective key length t1

Package rc2 imports 2 packages (graph) and is imported by 3 packages. Updated 5 days ago. Refresh now. Tools for package owners.