...

Package rc2

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

Overview ▾

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.

Constants

The rc2 block size in bytes

const BlockSize = 8

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