Sha256: a2f6070445b6e243cd358cfa96edde5e62ad2199016be4f14c46e3fcfa2c4342

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

class Cryptoform::EncryptionBackends::Backend
  def initialize(state_name, **params)
    @state_name = state_name
    @params = params
  end

  def decrypt(ciphertext)
    raise NotImplementedError
  end

  def encrypt(json)
    raise NotImplementedError
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cryptoform-0.4.0 lib/cryptoform/encryption_backends/backend.rb
cryptoform-0.2.0 lib/cryptoform/encryption_backends/backend.rb