Swift implementation of RC4.
Usage:
let data: NSData // the NSData to crypt let key: String // the key to crypt let encodedData = RC4.crypt(data, key)
Or streaming encryption:
let key: String let cryptor = RC4(key: key) while true { let data = ... // fetch data let encodedData = cryptor.crypt(data) // handles encodedData // break on finish loading }
-
Notifications
You must be signed in to change notification settings - Fork 2
willyliu/SwiftRC4
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Swift RC4 implementation.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published