Class: Hyraft::Compiler::Encryptor
- Inherits:
-
Object
- Object
- Hyraft::Compiler::Encryptor
- Defined in:
- lib/hyraft/compiler/encryptor.rb
Class Method Summary collapse
Class Method Details
.decode(encoded) ⇒ Object
7 |
# File 'lib/hyraft/compiler/encryptor.rb', line 7 def self.decode(encoded) = Base64.decode64(encoded) |
.encode(data) ⇒ Object
6 |
# File 'lib/hyraft/compiler/encryptor.rb', line 6 def self.encode(data) = Base64.strict_encode64(data) |