Example Rails application with Enkrip
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
storage
test
tmp
vendor
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json

README.md

README

Example Rails application with Enkrip. Define ENKRIP_LENGTH, ENKRIP_SALT, and ENKRIP_SECRET environment variables before run this app.

# Example Enviroment variables, DO NOT USE ON PRODUCTION

export ENKRIP_LENGTH=32
export ENKRIP_SALT=Z\xC8\xA2\x13\x06y\xDEq\xCB\x00\xBB\x89R\xD3\x8D\x80\xDC\x88\xDAc\x05\xC9wR\x93\xD2\xA8\xF5\x13\xAF\xBF\x04
export ENKRIP_SECRET=f031fbebc6bb5a69094139c24090fd42

Run ./bin/spring stop if you still encounter error after changing environment variables.