Documentation
¶
Index ¶
Constants ¶
View Source
const ( ChunkSizeHeader = 4 MaxChunkSize = 1024 * 1024 MaxCompressedSize = MaxChunkSize + (MaxChunkSize / 10) MaxEncryptedSize = MaxCompressedSize + TagSize + ChunkSizeHeader MaxEncryptedChunkSize = ((MaxEncryptedSize + (DataShards - 1)) / DataShards) * (DataShards + ParityShards) )
Chunk and size-related constants
View Source
const ( KeySize = 64 SaltSize = 32 NonceSize = 12 TagSize = 16 NonceSizeX = 24 )
Encryption-related constants
View Source
const ( DataShards = 4 ParityShards = 10 )
Reed-Solomon shard configuration
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.