MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Init

Method Init

internal/encrypt/method.go:5–5  ·  view source on GitHub ↗

Init 初始化

(key []byte, iv []byte)

Source from the content-addressed store, hash-verified

3type MethodInterface interface {
4 // Init 初始化
5 Init(key []byte, iv []byte) error
6
7 // Encrypt 加密
8 Encrypt(src []byte) (dst []byte, err error)

Callers 1

NewMethodInstanceFunction · 0.65

Implementers 5

AES256CFBMethodinternal/utils/encrypt.go
AES128CFBMethodinternal/encrypt/method_aes_128_cfb.go
AES192CFBMethodinternal/encrypt/method_aes_192_cfb.go
RawMethodinternal/encrypt/method_raw.go
AES256CFBMethodinternal/encrypt/method_aes_256_cfb.go

Calls

no outgoing calls

Tested by

no test coverage detected