steganography

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdaptiveAlgorithm

type AdaptiveAlgorithm interface{}

type AdaptiveLSBMethod

type AdaptiveLSBMethod struct{}

func (*AdaptiveLSBMethod) Embed

func (a *AdaptiveLSBMethod) Embed(carrier []byte, payload []byte, key string) (*EmbeddingResult, error)

func (*AdaptiveLSBMethod) Extract

func (a *AdaptiveLSBMethod) Extract(stegoObject []byte, key string) (*ExtractionResult, error)

func (*AdaptiveLSBMethod) GetCapacity

func (a *AdaptiveLSBMethod) GetCapacity(carrier []byte) int

func (*AdaptiveLSBMethod) GetMethod

func (a *AdaptiveLSBMethod) GetMethod() string

func (*AdaptiveLSBMethod) GetRobustness

func (a *AdaptiveLSBMethod) GetRobustness() float64

func (*AdaptiveLSBMethod) GetStealth

func (a *AdaptiveLSBMethod) GetStealth() float64

type AdaptiveSteganography

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

type AdvancedSteganographyEngine

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

AdvancedSteganographyEngine implements cutting-edge steganographic techniques for hiding malicious payloads across multiple modalities and encoding methods

func NewAdvancedSteganographyEngine

func NewAdvancedSteganographyEngine(logger common.AuditLogger) *AdvancedSteganographyEngine

NewAdvancedSteganographyEngine creates a new steganography engine

func (*AdvancedSteganographyEngine) ExecuteSteganographicAttack

func (e *AdvancedSteganographyEngine) ExecuteSteganographicAttack(ctx context.Context, carrier []byte, payload string, method string, options *StegoOptions) (*SteganographicAttack, error)

ExecuteSteganographicAttack executes a steganographic attack

type AdversarialNoise

type AdversarialNoise struct {
	TargetDetector string
	Perturbation   float64
	Method         string
}

type AntiSteganalysisMethod

type AntiSteganalysisMethod struct{}

type AttackMetadata

type AttackMetadata struct {
	AttackID         string
	Timestamp        time.Time
	TargetModel      string
	PayloadType      string
	PayloadSize      int
	CarrierSize      int
	StealthScore     float64
	RobustnessScore  float64
	DetectionRisk    float64
	ExtractionMethod string
}

type AudioMaskedSteganography

type AudioMaskedSteganography struct{}

type AudioSteganography

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

func NewAudioSteganography

func NewAudioSteganography() *AudioSteganography

type CarrierType

type CarrierType int
const (
	TextCarrier CarrierType = iota
	ImageCarrier
	AudioCarrier
	VideoCarrier
	MultiModalCarrier
	NetworkCarrier
	FileSystemCarrier
	DatabaseCarrier
)

type ComplexityAnalyzer

type ComplexityAnalyzer struct{}

func (*ComplexityAnalyzer) AnalyzeComplexity

func (c *ComplexityAnalyzer) AnalyzeComplexity(imageData []byte) []float64

type CompressedDomainSteganography

type CompressedDomainSteganography struct{}

type Concept

type Concept struct{}

type ConceptMappingMethod

type ConceptMappingMethod struct{}

func (*ConceptMappingMethod) Embed

func (c *ConceptMappingMethod) Embed(carrier []byte, payload []byte, key string) (*EmbeddingResult, error)

func (*ConceptMappingMethod) Extract

func (c *ConceptMappingMethod) Extract(stegoObject []byte, key string) (*ExtractionResult, error)

func (*ConceptMappingMethod) GetCapacity

func (c *ConceptMappingMethod) GetCapacity(carrier []byte) int

func (*ConceptMappingMethod) GetMethod

func (c *ConceptMappingMethod) GetMethod() string

func (*ConceptMappingMethod) GetRobustness

func (c *ConceptMappingMethod) GetRobustness() float64

func (*ConceptMappingMethod) GetStealth

func (c *ConceptMappingMethod) GetStealth() float64

type CryptographicSteganography

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

func NewCryptographicSteganography

func NewCryptographicSteganography() *CryptographicSteganography

type DCTSteganography

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

type DWTSteganography

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

type DetectionEvasion

type DetectionEvasion struct {
	AntiSteganalysis   []AntiSteganalysisMethod
	NoiseMasking       *NoiseMasking
	StatisticalMasking *StatisticalMasking
	ModelDeception     *ModelDeception
	AdversarialNoise   *AdversarialNoise
}

type DistributedEmbeddingResult

type DistributedEmbeddingResult struct {
	Fragments   []*FragmentResult
	TotalSize   int
	Redundancy  float64
	SuccessRate float64
	Timestamp   time.Time
}

type DistributedMethod

type DistributedMethod struct{}

func (*DistributedMethod) Embed

func (d *DistributedMethod) Embed(carrier []byte, payload []byte, key string) (*EmbeddingResult, error)

func (*DistributedMethod) Extract

func (d *DistributedMethod) Extract(stegoObject []byte, key string) (*ExtractionResult, error)

func (*DistributedMethod) GetCapacity

func (d *DistributedMethod) GetCapacity(carrier []byte) int

func (*DistributedMethod) GetMethod

func (d *DistributedMethod) GetMethod() string

func (*DistributedMethod) GetRobustness

func (d *DistributedMethod) GetRobustness() float64

func (*DistributedMethod) GetStealth

func (d *DistributedMethod) GetStealth() float64

type DistributedSteganography

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

func NewDistributedSteganography

func NewDistributedSteganography() *DistributedSteganography

func (*DistributedSteganography) EmbedDistributed

func (d *DistributedSteganography) EmbedDistributed(carriers [][]byte, payload []byte, key string) (*DistributedEmbeddingResult, error)

type DistributionStrategy

type DistributionStrategy struct{}

type EchoHiding

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

type EmbeddingMetadata

type EmbeddingMetadata struct {
	Method           string
	Timestamp        time.Time
	PayloadSize      int
	CarrierSize      int
	CompressionRatio float64
	EncryptionUsed   bool
	KeyDerivation    string
	QualityScore     float64
}

type EmbeddingResult

type EmbeddingResult struct {
	StegoObject    []byte
	EmbeddedSize   int
	StegoKey       string
	Metadata       *EmbeddingMetadata
	QualityMetrics *QualityMetrics
}

type EncryptionMethod

type EncryptionMethod interface{}

type ExtractionResult

type ExtractionResult struct {
	ExtractedPayload []byte
	Success          bool
	Confidence       float64
	Errors           []string
	Metadata         map[string]interface{}
}

type FormatSteganography

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

type FragmentResult

type FragmentResult struct{}

type FragmentationEngine

type FragmentationEngine struct{}

func (*FragmentationEngine) FragmentPayload

func (f *FragmentationEngine) FragmentPayload(payload []byte, numFragments int, redundancy *RedundancyManager) [][]byte

type FrameSteganography

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

type FrameSynchronization

type FrameSynchronization struct{}

type FrequencyBand

type FrequencyBand struct{}

type GrammarRule

type GrammarRule struct{}

type HTMLSteganography

type HTMLSteganography struct{}

type ImageSteganography

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

func NewImageSteganography

func NewImageSteganography() *ImageSteganography

func (*ImageSteganography) EmbedAdaptiveLSB

func (i *ImageSteganography) EmbedAdaptiveLSB(imageData []byte, payload []byte, key string) (*EmbeddingResult, error)

type IndentationMethod

type IndentationMethod struct{}

type JSONSteganography

type JSONSteganography struct{}

type KeyManagement

type KeyManagement struct{}

type KnowledgeGraph

type KnowledgeGraph struct{}

type LSBAudioSteganography

type LSBAudioSteganography struct{}

type LSBSteganography

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

type LinguisticSteganography

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

func NewLinguisticSteganography

func NewLinguisticSteganography() *LinguisticSteganography

func (*LinguisticSteganography) EmbedSynonymReplacement

func (l *LinguisticSteganography) EmbedSynonymReplacement(text string, payload string, key string) (*EmbeddingResult, error)

type MarkdownSteganography

type MarkdownSteganography struct{}

type MeaningPreservation

type MeaningPreservation struct{}

type ModelDeception

type ModelDeception struct{}

type MotionVectorSteganography

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

type NoiseMasking

type NoiseMasking struct {
	NoiseType    string
	Intensity    float64
	Distribution string
}

type Ontology

type Ontology struct{}

type PhaseRecoveryMethod

type PhaseRecoveryMethod struct{}

type PhaseSteganography

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

type PredictionError

type PredictionError struct{}

type QualityMetrics

type QualityMetrics struct {
	PSNR             float64 // Peak Signal-to-Noise Ratio
	SSIM             float64 // Structural Similarity Index
	MSE              float64 // Mean Squared Error
	Imperceptibility float64
	Robustness       float64
	Capacity         float64
}

type QualityPreserver

type QualityPreserver struct{}

type Range

type Range struct{ Start, End int }

type ReconstructionEngine

type ReconstructionEngine struct{}

type RedundancyManager

type RedundancyManager struct{}

func (*RedundancyManager) CalculateRedundancy

func (r *RedundancyManager) CalculateRedundancy(numCarriers int) float64

type Region

type Region struct{ StartIndex, EndIndex int }

type RegionSelector

type RegionSelector struct{}

func (*RegionSelector) SelectRegions

func (r *RegionSelector) SelectRegions(complexityMap []float64, requiredBits int) []Region

type SemanticMapping

type SemanticMapping struct{}

type SemanticSteganography

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

func NewSemanticSteganography

func NewSemanticSteganography() *SemanticSteganography

func (*SemanticSteganography) EmbedConceptMapping

func (s *SemanticSteganography) EmbedConceptMapping(text string, payload string, key string) (*EmbeddingResult, error)

type SpreadSpectrumAudio

type SpreadSpectrumAudio struct{}

type SpreadSpectrumSteganography

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

type StatisticalMasking

type StatisticalMasking struct {
	Method   string
	Strength float64
	Adaptive bool
}

type SteganographicAttack

type SteganographicAttack struct {
	AttackID         string
	Method           string
	CarrierType      CarrierType
	Payload          []byte
	EncryptedPayload []byte
	StegoKey         string
	EmbeddingResult  *EmbeddingResult
	DetectionEvasion *DetectionEvasion
	Metadata         *AttackMetadata
}

type SteganographyMethod

type SteganographyMethod interface {
	Embed(carrier []byte, payload []byte, key string) (*EmbeddingResult, error)
	Extract(stegoObject []byte, key string) (*ExtractionResult, error)
	GetCapacity(carrier []byte) int
	GetStealth() float64
	GetRobustness() float64
	GetMethod() string
}

type StegoKeyGeneration

type StegoKeyGeneration struct{}

type StegoOptions

type StegoOptions struct {
	EncryptPayload   bool
	EncryptionKey    string
	StegoKey         string
	DetectionEvasion []string
	QualityThreshold float64
	RobustnessLevel  string
	DistributionMode string
}

type StyleVariation

type StyleVariation struct{}

type SynchronizationMethod

type SynchronizationMethod struct{}

type SynonymReplacementMethod

type SynonymReplacementMethod struct{}

func (*SynonymReplacementMethod) Embed

func (s *SynonymReplacementMethod) Embed(carrier []byte, payload []byte, key string) (*EmbeddingResult, error)

func (*SynonymReplacementMethod) Extract

func (s *SynonymReplacementMethod) Extract(stegoObject []byte, key string) (*ExtractionResult, error)

func (*SynonymReplacementMethod) GetCapacity

func (s *SynonymReplacementMethod) GetCapacity(carrier []byte) int

func (*SynonymReplacementMethod) GetMethod

func (s *SynonymReplacementMethod) GetMethod() string

func (*SynonymReplacementMethod) GetRobustness

func (s *SynonymReplacementMethod) GetRobustness() float64

func (*SynonymReplacementMethod) GetStealth

func (s *SynonymReplacementMethod) GetStealth() float64

type TemporalSteganography

type TemporalSteganography struct{}

type TextSteganography

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

func NewTextSteganography

func NewTextSteganography() *TextSteganography

func (*TextSteganography) EmbedUnicodeInvisible

func (t *TextSteganography) EmbedUnicodeInvisible(text string, payload string, key string) (*EmbeddingResult, error)

type UnicodeInvisibleMethod

type UnicodeInvisibleMethod struct{}

Method implementations (placeholders)

func (*UnicodeInvisibleMethod) Embed

func (u *UnicodeInvisibleMethod) Embed(carrier []byte, payload []byte, key string) (*EmbeddingResult, error)

func (*UnicodeInvisibleMethod) Extract

func (u *UnicodeInvisibleMethod) Extract(stegoObject []byte, key string) (*ExtractionResult, error)

func (*UnicodeInvisibleMethod) GetCapacity

func (u *UnicodeInvisibleMethod) GetCapacity(carrier []byte) int

func (*UnicodeInvisibleMethod) GetMethod

func (u *UnicodeInvisibleMethod) GetMethod() string

func (*UnicodeInvisibleMethod) GetRobustness

func (u *UnicodeInvisibleMethod) GetRobustness() float64

func (*UnicodeInvisibleMethod) GetStealth

func (u *UnicodeInvisibleMethod) GetStealth() float64

type UnicodeSteganography

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

type VideoSteganography

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

func NewVideoSteganography

func NewVideoSteganography() *VideoSteganography

type WhiteSpaceSteganography

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

type XMLSteganography

type XMLSteganography struct{}

type ZerothOrderSteganography

type ZerothOrderSteganography struct{}

Jump to

Keyboard shortcuts

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