Gurpartap / aescrypt

A simple and opinionated AES encrypt / decrypt Ruby gem that just works.
MIT License
161 stars 51 forks source link

Fix namespace issue with base64 #7

Open juicemia opened 9 years ago

juicemia commented 9 years ago

There was an issue with Base64 being interpreted as a part of AESCrypt instead of its own class:

token = AESCrypt.encrypt(message, password)
    NameError: uninitialized constant AESCrypt::Base64

All I added was the scope resolution operator.