Method: Fastlane::Helper::EncryptionHelper.cipher
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/helper/encryption_helper.rb
.cipher(op_type) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/helper/encryption_helper.rb', line 11 def self.cipher(op_type) cipher = OpenSSL::Cipher.new('aes-256-cbc') cipher.encrypt if op_type == OperationType::ENCRYPT cipher.decrypt if op_type == OperationType::DECRYPT cipher end |