Class: PqcRails::DhKem::Encapsulation

Inherits:
Struct
  • Object
show all
Defined in:
lib/pqc_rails/dh_kem.rb

Instance Attribute Summary collapse

Instance Attribute Details

#ciphertextObject

Returns the value of attribute ciphertext

Returns:

  • the current value of ciphertext



27
28
29
# File 'lib/pqc_rails/dh_kem.rb', line 27

def ciphertext
  @ciphertext
end

#shared_secretObject

Returns the value of attribute shared_secret

Returns:

  • the current value of shared_secret



27
28
29
# File 'lib/pqc_rails/dh_kem.rb', line 27

def shared_secret
  @shared_secret
end