Class: PqcRails::DhKem::Keypair

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

Instance Attribute Summary collapse

Instance Attribute Details

#public_keyObject

Returns the value of attribute public_key

Returns:

  • (Object)

    the current value of public_key



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

def public_key
  @public_key
end

#secret_keyObject

Returns the value of attribute secret_key

Returns:

  • (Object)

    the current value of secret_key



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

def secret_key
  @secret_key
end