https://github.com/dreadlocked/stupidcrypt
Stupid Crypt is a super insecure crypto library.
https://github.com/dreadlocked/stupidcrypt
crypto gem ruby
Last synced: about 1 year ago
JSON representation
Stupid Crypt is a super insecure crypto library.
- Host: GitHub
- URL: https://github.com/dreadlocked/stupidcrypt
- Owner: dreadlocked
- Created: 2018-01-30T00:03:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T00:31:06.000Z (over 8 years ago)
- Last Synced: 2025-01-21T05:27:50.295Z (over 1 year ago)
- Topics: crypto, gem, ruby
- Language: Ruby
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stupid Crypt - A super insecure ruby crypto gem.
If you hate all those super secure AES and RSA algorithms, here you have a super insecure ruby gem.
### Characteristics:
- Based on Base64 encoding.
- Output is not human readable.
- It's insecure.
### Installation
```sh
$ sudo gem install stupid-crypt
```
### Usage
```sh
require 'stupid-crypt'
result = StupidCrypt::Encrypt("yourstring")
dec = StupidCrypt::Decrypt(result)
```
### Also, you can "increase" security level with terrible performance impact.
```sh
require 'stupid-crypt'
level = 40 # By default level is 20
result = StupidCrypt::Encrypt("yourstring",level)
dec = StupidCrypt::Decrypt(result,level)
```