Skip to content

Instantly share code, notes, and snippets.

@robins35
Last active January 23, 2019 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robins35/e8af17f7919f8c7e13f9a3534c1f8b1b to your computer and use it in GitHub Desktop.
Save robins35/e8af17f7919f8c7e13f9a3534c1f8b1b to your computer and use it in GitHub Desktop.
[me@cp3120]❯ bin/console
# Wed Jan 23 17:42:02 -0500 2019 development booting...
>> JWT.encode( { "val" => 443 }, 'pass')
=> "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2YWwiOjQ0M30.2YjNV6fSJ_n2G2PIp2RLBNv3G1Wcc9Chq_6kZVnj8hM"
>> %
[me@cp3120]❯ bin/console
# Wed Jan 23 18:08:30 -0500 2019 development booting...
>> JWT.encode( { "val" => 443 }, 'pass')
=> "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2YWwiOjQ0M30.-PnFX8V7GYphTuV4OxoAViWjL9p5YRdDrHFKT0YiAJk"
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment