Files
Go_I2p/lib/transport/obfs/doc.md
2025-02-26 20:52:16 -05:00

1.2 KiB

obfs

-- import "github.com/go-i2p/go-i2p/lib/transport/obfs"

Usage

func DeobfuscateEphemeralKey

func DeobfuscateEphemeralKey(message []byte, aesKey *crypto.AESSymmetricKey) ([]byte, error)

DeobfuscateEphemeralKey decrypts the ephemeral public key in the message using AES-256-CBC without padding

func ObfuscateEphemeralKey

func ObfuscateEphemeralKey(message []byte, aesKey *crypto.AESSymmetricKey) ([]byte, error)

ObfuscateEphemeralKey encrypts the ephemeral public key in the message using AES-256-CBC without padding

obfs

-- import "github.com/go-i2p/go-i2p/lib/transport/obfs"

obfs.svg

Usage

func DeobfuscateEphemeralKey

func DeobfuscateEphemeralKey(message []byte, aesKey *crypto.AESSymmetricKey) ([]byte, error)

DeobfuscateEphemeralKey decrypts the ephemeral public key in the message using AES-256-CBC without padding

func ObfuscateEphemeralKey

func ObfuscateEphemeralKey(message []byte, aesKey *crypto.AESSymmetricKey) ([]byte, error)

ObfuscateEphemeralKey encrypts the ephemeral public key in the message using AES-256-CBC without padding

obfs

github.com/go-i2p/go-i2p/lib/transport/obfs