vppn/node/cipher.go
2024-12-19 20:53:52 +01:00

7 lines
146 B
Go

package node
type packetCipher interface {
Encrypt(h xHeader, data, out []byte) []byte
Decrypt(encrypted, out []byte) (data []byte, ok bool)
}