Class String
In: lib/mack-encryption/string.rb
Parent: Object

Methods

decrypt   encrypt  

Public Instance methods

Maps to Kernel _decrypt

Examples:

  some_encrypted_string.decrypt
  some_encrypted_string.decrypt(:my_crypt)

[Source]

    # File lib/mack-encryption/string.rb, line 17
17:   def decrypt(worker = :default)
18:     _decrypt(self, worker)
19:   end

Maps to Kernel _encrypt

Examples:

  "Hello World".encrypt
  "Hello World".encrypt(:my_crypt)

[Source]

    # File lib/mack-encryption/string.rb, line 8
 8:   def encrypt(worker = :default)
 9:     _encrypt(self, worker)
10:   end

[Validate]