FileEncryption
Aes file encryption library for Go (Golang)
Install / Use
/learn @alepacheco/FileEncryptionREADME
How to install
- Get the library using:
go get github.com/Tiked/FileEncryption
- Import it:
import "github.com/Tiked/FileEncryption"
How to use it
package main
import "github.com/Tiked/FileEncryption"
func main() {
// First initialize the chipher with your key. use a 32 bytes slice
FileEncryption.InitializeBlock([]byte("a very very very very secret key"))
// Now encrypt a file with its path
err := FileEncryption.Encrypter("/home/desktop/data.txt")
if err != nil {
panic(err.Error())
}
// Now you should see data.txt.enc in your desktop
// To decrypt it
err = FileEncryption.Decrypter("/home/desktop/data.txt.enc")
if err != nil {
panic(err.Error())
}
// Now you should see data.txt in your desktop
}
Features
- Encrypts large files using stream encryption
- Per-file unique IV handling
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
352.0kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
