RC4
RC4 library implementation
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Passing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install RC4
choosenim install RC4
git clone https://github.com/OHermesJunior/nimRC4
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| RC4 | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/OHermesJunior/nimRC4 |
|---|---|
| Homepage | https://github.com/OHermesJunior/nimRC4 |
| Documentation | View Documentation |
| Registry Source | nimble_official |
README
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.