Documentation ¶
Index ¶
- func DecryptChunk(chunk []byte, secretKey [32]byte) []byte
- func DecryptData(encryptedFile string, outputFile string, password string)
- func DeriveSecretKey(password string, salt []byte) [32]byte
- func EncryptChunk(chunk []byte, secretKey [32]byte) []byte
- func EncryptData(oryginalFile string, outputFile string, password string, salt []byte)
- func GenerateRandomBytes(len int) []byte
- func GenerateRandomSalt() [8]byte
- func GenerateRandomSecretKey() [32]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptChunk ¶
func DecryptData ¶ added in v0.3.0
func DeriveSecretKey ¶
func EncryptChunk ¶
func EncryptData ¶ added in v0.3.0
func GenerateRandomBytes ¶
func GenerateRandomSalt ¶
func GenerateRandomSalt() [8]byte
func GenerateRandomSecretKey ¶
func GenerateRandomSecretKey() [32]byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.