No description
Find a file
2019-06-27 20:30:51 +02:00
src Optimize the code 2019-06-27 20:24:37 +02:00
tests Decryption implemented 2019-06-27 19:09:55 +02:00
LICENSE RC4 encryption working 2019-06-27 14:14:51 +02:00
RC4.nimble Update nimble file 2019-06-27 20:30:51 +02:00
README.md Correct nimble link in readme 2019-06-27 19:28:33 +02:00

RC4

RC4 library implementation for Nim

Usage

Using this library is as simple as this:

  import RC4

  toRC4("Key", "Plaintext") # Returns "BBF316E8D940AF0AD3"

  fromRC4("Key", "BBF316E8D940AF0AD3") # Returns "Plaintext"

Installation

Installation via nimble:

> nimble install RC4

Disclaimer

RC4 is not safe and should not be used in secure algorithms nowadays. However, RC4 was used a lot in the past, and that is why I did this.