Sha256: a066aa4ada48b6de3f392d00aa6286ccbc3964bbd230ca52cbea79d26d51fcf7

Contents?: true

Size: 464 Bytes

Versions: 3

Compression:

Stored size: 464 Bytes

Contents

require_relative 'struct'
require_relative 'kem_wrapper'
require_relative 'common_wrapper'

module Roqs
  class KEMPublicKey
    
    def initialize(nativePubKey)
      @native_pubkey = nativePubKey
    end

    def length
      @native_pubkey.size
    end

    def bytes
      #puts "raw 1 : #{@native_pubkey.size}"
      #puts "raw 2 : #{@native_pubkey.to_str}"
      @native_pubkey.to_str
    end

    def native_pubkey
      @native_pubkey
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roqs-0.1.2 lib/roqs/kem_public_key.rb
roqs-0.1.1 lib/roqs/kem_public_key.rb
roqs-0.1.0 lib/roqs/kem_public_key.rb