From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/go/crypto%2Frc4%2Findex.html | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 devdocs/go/crypto%2Frc4%2Findex.html (limited to 'devdocs/go/crypto%2Frc4%2Findex.html') diff --git a/devdocs/go/crypto%2Frc4%2Findex.html b/devdocs/go/crypto%2Frc4%2Findex.html deleted file mode 100644 index 51f33835c..000000000 --- a/devdocs/go/crypto%2Frc4%2Findex.html +++ /dev/null @@ -1,30 +0,0 @@ -

Package rc4

Overview

Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography.

-

RC4 is cryptographically broken and should not be used for secure applications.

Index

Package files

rc4.go

type Cipher

A Cipher is an instance of RC4 using a particular key.

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

func NewCipher

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

NewCipher creates and returns a new Cipher. The key argument should be the RC4 key, at least 1 byte and at most 256 bytes.

-

func (*Cipher) Reset

func (c *Cipher) Reset()

Reset zeros the key data and makes the Cipher unusable.

-

Deprecated: Reset can't guarantee that the key will be entirely removed from the process's memory.

-

func (*Cipher) XORKeyStream

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

XORKeyStream sets dst to the result of XORing src with the key stream. Dst and src must overlap entirely or not at all.

-

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string
-

- © Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
- http://golang.org/pkg/crypto/rc4/ -

-
-- cgit v1.2.3