crypto: golang.org/x/crypto/cast5 Index | Files

package cast5

import "golang.org/x/crypto/cast5"

Package cast5 implements CAST5, as defined in RFC 2144. CAST5 is a common OpenPGP cipher.

Index

Package Files

cast5.go

Constants

const BlockSize = 8
const KeySize = 16

type Cipher

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

func NewCipher

func NewCipher(key []byte) (c *Cipher, err error)

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)

Package cast5 imports 1 packages (graph) and is imported by 7 packages. Updated about 18 hours ago. Refresh now. Tools for package owners.