aes256

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

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

Cipher 는 AES 256bit 를 위한 핸들러

func (*Cipher) Decode

func (cp *Cipher) Decode(data []byte) ([]byte, error)

Decode : 복호화!

func (*Cipher) Encode

func (cp *Cipher) Encode(data []byte) ([]byte, error)

Encode : 암호화!

func (*Cipher) SetIV

func (cp *Cipher) SetIV(iv string) error

SetIV : 128bit(16byte) 크기의 Init Vector 값을 셋팅합니다.

func (*Cipher) SetKey

func (cp *Cipher) SetKey(key string) error

SetKey : 256bit(32bytes) 크기의 키를 셋팅합니다.

Jump to

Keyboard shortcuts

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