encrypt

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

*

  • Date: 2019/5/27
  • Desc:
  • extra:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomKey

func GetRandomKey() []byte

func Swap

func Swap(bytes []byte, i, j int) []byte

Types

type RC4

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

func NewRC4

func NewRC4() *RC4

func (*RC4) Crypt

func (r *RC4) Crypt(data []byte, start int, end int)

func (*RC4) Init

func (r *RC4) Init(key []byte)

Jump to

Keyboard shortcuts

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