Skip to content

Small utility for encrypting/decrypting using AES

Notifications You must be signed in to change notification settings

aion-dk/aion-enigma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AionEnigma

AionEnigma is a small utility for encrypting/decrypting a string based on a shared secret using AES-265-CBC.

Install

Install gem via git

gem 'aion-enigma'

Usage

secret_message = 'this is a secret message'
shared_secret  = 'some shared secret'

enigma = AionEnigma.new(shared_secret)
encrypted_message = enigma.encrypt(secret_message)
# encrypted_message ≈> 'ivBsGDsQjG6ScC5wq7Q-2w~XgFz1c4mdDR_MhI0VkpvNMcINDHCrAXEb1RlzwXpuNU'

message = enigma.decrypt(encrypted_message)
# message => 'this is a secret message'

About

Small utility for encrypting/decrypting using AES

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages