An open API service indexing awesome lists of open source software.

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.

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 example

Here 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)
```