https://github.com/maxdcb/nimaescrypt
Nim file-encryption module that uses AES256-CBC to encrypt/decrypt files.
https://github.com/maxdcb/nimaescrypt
aes aes-256 aes-decryption aes-encryption nim security
Last synced: 6 months ago
JSON representation
Nim file-encryption module that uses AES256-CBC to encrypt/decrypt files.
- Host: GitHub
- URL: https://github.com/maxdcb/nimaescrypt
- Owner: maxDcb
- License: apache-2.0
- Created: 2023-04-18T13:13:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T13:19:07.000Z (over 2 years ago)
- Last Synced: 2025-03-23T18:37:29.057Z (7 months ago)
- Topics: aes, aes-256, aes-decryption, aes-encryption, nim, security
- Language: Nim
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nimAesCrypt
## About nimAesCrypt
nimAesCrypt is a reimplementation of [pyAesCrypt](https://github.com/marcobellaccini/pyAesCrypt) in nim.
nimAesCrypt is a nim file-encryption module that uses AES256-CBC to encrypt/decrypt files.
## Module usage exampleHere is an example showing encryption and decryption of a file:
```nim
import nimAesCrypt
encryptFile("file.txt", "file.aes", "long-and-random-password", 1024)
decryptFile("file.aes", "fileDecrypt.txt", "long-and-random-password", 1024)
```