class TweetNaCl::KeyPair
Attributes
public_key[R]
secret_key[R]
Public Class Methods
new(keypair = TweetNaCl.crypto_box_keypair)
click to toggle source
# File lib/tweetnacl/key_pair.rb, line 5 def initialize(keypair = TweetNaCl.crypto_box_keypair) @public_key, @secret_key = keypair end