Sha256: 2fc8d286c12b88baa86f3bf90895cf8ced50bce3f5c6b5c9e71b867cd49bdbcd
Contents?: true
Size: 526 Bytes
Versions: 16
Compression:
Stored size: 526 Bytes
Contents
module Kernel # A helper method that calls Mack::Utils::Crypt::Keeper with the specified worker # and calls the encrypt method on that worker. def _encrypt(value, worker = :default) Mack::Utils::Crypt::Keeper.instance.worker(worker).encrypt(value) end # A helper method that calls Mack::Utils::Crypt::Keeper with the specified worker # and calls the decrypt method on that worker. def _decrypt(value, worker = :default) Mack::Utils::Crypt::Keeper.instance.worker(worker).decrypt(value) end end
Version data entries
16 entries across 16 versions & 2 rubygems