module Bitcoin

Constants

CURVE_ORDER

Integers modulo the order of the curve(secp256k1)

Public Class Methods

hmac_sha512(key, data) click to toggle source
# File lib/hdkey/ext_key.rb, line 5
def self.hmac_sha512(key, data)
  OpenSSL::HMAC.digest(OpenSSL::Digest.new('SHA512'), key, data)
end