Versions in this module Expand all Collapse all v1 v1.0.0 Aug 6, 2025 Changes in this version + type Argon2Config struct + MemoryKB uint32 + Threads uint8 + Time uint32 + type Config struct + Argon2 Argon2Config + ChunkSizeKB int + DataShards int + ParityShards int + StoragePath string + func LoadConfig(path string) (*Config, error) + type EncryptionOptions struct + Argon2Memory uint32 + Argon2Threads uint8 + Argon2Time uint32 + ChunkSizeKB int + DataShards int + ParityShards int + Password string + type Manifest struct + Argon2Memory uint32 + Argon2Threads uint8 + Argon2Time uint32 + ChunkPaths []string + DataShards int + EncryptedChunkSizes []int + EncryptedDataKeys [][]byte + EncryptedOrigFilename []byte + ErasureCodeChunkSuffixes [][]string + ParityShards int + Salt []byte + Signature []byte + type SecureSyncer interface + DecryptFile func(manifestID, outputPath, password string) error + EncryptFile func(localPath string, opts EncryptionOptions) (string, error) + type Syncer struct + StorageDir string + func NewSyncer(storageDir string) *Syncer + func (s *Syncer) DecryptFile(manifestID, outputPath, password string) (err error) + func (s *Syncer) EncryptFile(localPath string, opts EncryptionOptions) (manifestID string, err error)