README.md in fernet-1.2 vs README.md in fernet-1.3

- old
+ new

@@ -56,9 +56,22 @@ The specs ([spec/fernet_spec.rb](https://github.com/hgmnz/fernet/blob/master/spec/fernet_spec.rb)) have more usage examples. +### Global configuration + +It's possible to configure fernet via the `Configuration` class. Put this in an initializer: + +```ruby +# default values shown here +Fernet::Configuration.run do |config| + config.enforce_ttl = true + config.ttl = 60 + config.encrypt = true +end +``` + ### Generating a secret Generating appropriate secrets is beyond the scope of `Fernet`, but you should generate it using `/dev/random` in a *nix. To generate a base64-encoded 256 bit (32 byte) random sequence, try: