mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-18 18:44:30 -04:00
676 B
676 B
obfs
-- import "github.com/go-i2p/go-i2p/lib/transport/obfs"
Usage
func DeobfuscateEphemeralKey
func DeobfuscateEphemeralKey(message []byte, aesKey *aes.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 *aes.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