lib/jwa/algorithms/key_management/ecdh_es.rb
# This is technically not an encryption, but to keep the same interface
# with other classes, let's name it this way.
This is technically not an encryption, but to keep the same interface
with other classes, let's name it this way.
This is technically not an encryption but to keep the same interface with other classes let ' s name it this way .
def encrypt(public_key)
          z = @ephemeral_key.dh_compute_key(public_key)
          concat_kdf = Support::ConcatKDF.new(Digest::SHA256.new)
          concat_kdf.run(z, @info, @key_length)
        end
def encrypt ( public_key ) z = @ephemeral_key . dh_compute_key ( public_key ) concat_kdf = Support :: ConcatKDF . new ( Digest :: SHA256 . new ) concat_kdf . run ( z , @info , @key_length ) end
This is technically not an encryption, but to keep the same interface
with other classes, let's name it this way.
This is technically not an encryption but to keep the same interface with other classes let ' s name it this way .
public_key